Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
IF command
I want to use the IF command as follows:
=IF(A1="*complication*", 1,0) so that if A1 contains "No complication" it would return the answer 1 However it is not working Does anyone know why? Thanks JD |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
IF command
=COUNTIF(A1,"*complication*")
"JRD" wrote: I want to use the IF command as follows: =IF(A1="*complication*", 1,0) so that if A1 contains "No complication" it would return the answer 1 However it is not working Does anyone know why? Thanks JD |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
IF command
The formula provided doesn't seem to work, if in A1 contains "No complication", then the result expected is 1, but the formula give a 0. the same goes if "no complicates", the expected result should be 0, but yours give a 1 what will be the expected result if A1 contain "lesscomplications" HTH -- Thank You cheers, ======================== please click the Yes button if this help ======================== "Teethless mama" wrote: =COUNTIF(A1,"*complication*") "JRD" wrote: I want to use the IF command as follows: =IF(A1="*complication*", 1,0) so that if A1 contains "No complication" it would return the answer 1 However it is not working Does anyone know why? Thanks JD |
#4
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
IF command
try this formula
=IF(ISERROR(SEARCH("COMPLICATION*",A2)*0),0,1) HTH -- Thank You cheers, ======================== please click the Yes button if this help ======================== "JRD" wrote: I want to use the IF command as follows: =IF(A1="*complication*", 1,0) so that if A1 contains "No complication" it would return the answer 1 However it is not working Does anyone know why? Thanks JD |
#5
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
IF command
TM
my apology, your formula provided is working fine. I didn't check the cell's reference. -- Thank You cheers, ======================== please click the Yes button if this help "Teethless mama" wrote: =COUNTIF(A1,"*complication*") "JRD" wrote: I want to use the IF command as follows: =IF(A1="*complication*", 1,0) so that if A1 contains "No complication" it would return the answer 1 However it is not working Does anyone know why? Thanks JD |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
command button add another command | Excel Discussion (Misc queries) | |||
Pivot Table Error Message - "Command Text not set for command obje | Excel Discussion (Misc queries) | |||
Command | Excel Worksheet Functions | |||
Dos command | New Users to Excel | |||
Excel has a "Find Next" command but no "Find Previous" command. | Excel Discussion (Misc queries) |