![]() |
|
|
|
#1
|
|||
|
|||
|
Text in cell E152: abc - India
1. formula1 applied on E152 (works correctly): =TRIM(RIGHT(E152,(LEN(E152)-FIND("-",E152)))) ==> output = India 2. formula2 applied on E152 (works correctly): =ISNUMBER(SEARCH("India", E152)) ==> output = TRUE 3. formula3 applied on E152 (doesn't work as expected): replaced text "India" with formula in step 1 =ISNUMBER(SEARCH("TRIM(RIGHT(E152,(LEN(E152)-FIND("-",E152))))", E152)) ==> output = FALSE (am expecting the output to be TRUE) |
|
#2
|
||||
|
||||
|
In formula 3 why did you put double quotes before TRIM and after closing the SEARCH function?
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
#3
|
|||
|
|||
|
Yeah, it worked after removing the double quotes.
Can you check my another query @https://www.msofficeforums.com/excel/34725-use-varilable-vba-excel-formula.html |
|
#4
|
||||
|
||||
|
I'm sorry I'm no VBA man. I will marked this thread solved
__________________
Using O365 v2503 - Did you know you can thank someone who helped you? Click on the tiny scale in the right upper hand corner of your helper's post |
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Formula working wrong, I can't identify why.
|
rajeshn_in | Excel | 1 | 01-09-2017 03:59 AM |
Conditional formatting not working with simple formula
|
bendmc | Excel | 2 | 11-17-2016 11:31 AM |
VLOOKUP Formula is not working
|
babs1234 | Excel | 3 | 03-04-2015 06:08 AM |
IF, ISNUMBER & AND function
|
Dkline | Excel | 3 | 06-04-2014 06:40 AM |
Equation formula EQ \F(a,b) for fractions w/horizontal line not working
|
Manny | Word | 1 | 09-30-2013 03:39 PM |