Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi all,
Hopefully someone can tell me what function I should use to determins whether a cell contains the text "(FX)" to be used in an IF statement. E.g. In cell A1 I have "ABC Corporation (FX)", in cell A2 I have "ABC Corporation" and in Cell A3 I have "ABC (FX) Corporation". In cells B1 to B3 I want a formula that returns TRUE in B1 and B3 and FALSE in B2. Thanks in advance. Cheers, Andrew |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Perfect Mike - Thanks a million!
"Mike H" wrote in message ... Hi, In B1 and drag down =NOT(ISERROR(SEARCH("FX",A1))) Mike "Andrew Mackenzie" wrote: Hi all, Hopefully someone can tell me what function I should use to determins whether a cell contains the text "(FX)" to be used in an IF statement. E.g. In cell A1 I have "ABC Corporation (FX)", in cell A2 I have "ABC Corporation" and in Cell A3 I have "ABC (FX) Corporation". In cells B1 to B3 I want a formula that returns TRUE in B1 and B3 and FALSE in B2. Thanks in advance. Cheers, Andrew |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
In B1 and drag down =NOT(ISERROR(SEARCH("FX",A1))) Mike "Andrew Mackenzie" wrote: Hi all, Hopefully someone can tell me what function I should use to determins whether a cell contains the text "(FX)" to be used in an IF statement. E.g. In cell A1 I have "ABC Corporation (FX)", in cell A2 I have "ABC Corporation" and in Cell A3 I have "ABC (FX) Corporation". In cells B1 to B3 I want a formula that returns TRUE in B1 and B3 and FALSE in B2. Thanks in advance. Cheers, Andrew |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Did you want to check for parenthesis as well
=NOT(ISERROR(SEARCH("(FX)",A1))) Mike "Mike H" wrote: Hi, In B1 and drag down =NOT(ISERROR(SEARCH("FX",A1))) Mike "Andrew Mackenzie" wrote: Hi all, Hopefully someone can tell me what function I should use to determins whether a cell contains the text "(FX)" to be used in an IF statement. E.g. In cell A1 I have "ABC Corporation (FX)", in cell A2 I have "ABC Corporation" and in Cell A3 I have "ABC (FX) Corporation". In cells B1 to B3 I want a formula that returns TRUE in B1 and B3 and FALSE in B2. Thanks in advance. Cheers, Andrew |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
and another
=ISNUMBER(SEARCH("(FX)",A1)) Mike "Mike H" wrote: Did you want to check for parenthesis as well =NOT(ISERROR(SEARCH("(FX)",A1))) Mike "Mike H" wrote: Hi, In B1 and drag down =NOT(ISERROR(SEARCH("FX",A1))) Mike "Andrew Mackenzie" wrote: Hi all, Hopefully someone can tell me what function I should use to determins whether a cell contains the text "(FX)" to be used in an IF statement. E.g. In cell A1 I have "ABC Corporation (FX)", in cell A2 I have "ABC Corporation" and in Cell A3 I have "ABC (FX) Corporation". In cells B1 to B3 I want a formula that returns TRUE in B1 and B3 and FALSE in B2. Thanks in advance. Cheers, Andrew |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(ISERROR(FIND("(FX)",A1,)),FALSE,TRUE)
then copy On 6 Mar, 12:37, "Andrew Mackenzie" wrote: Hi all, Hopefully someone can tell me what function I should use to determins whether a cell contains the text "(FX)" to be used in an IF statement. *E.g. In cell A1 I have "ABC Corporation (FX)", in cell A2 I have "ABC Corporation" and in Cell A3 I have "ABC (FX) Corporation". *In cells B1 to B3 I want a formula that returns TRUE in B1 and B3 and FALSE in B2. Thanks in advance. Cheers, Andrew |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Text "comparison" operator for "contains" used in an "IF" Function | Excel Worksheet Functions | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
change "true" and "false" to "availble" and "out of stock" | Excel Worksheet Functions | |||
HELP on "left","right","find","len","substitute" functions | Excel Discussion (Misc queries) | |||
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next | New Users to Excel |