Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Multiple if condition
Here the two conditions 1) If(a1="ABC","Yes"," ") - if it is true I need "yes" in C1 2) If(b1="XYZ"," ","Yes") - if its false I need "yes" in C1 I need 2 conditions result in C1, how to do that... Thanks in advance |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Does this work for you:
=IF(AND(A1="ABC",B1<"XYZ"),"YES","") ? -- HTH, RD --------------------------------------------------------------------------- Please keep all correspondence within the NewsGroup, so all may benefit ! --------------------------------------------------------------------------- "muddan madhu" wrote in message ... Multiple if condition Here the two conditions 1) If(a1="ABC","Yes"," ") - if it is true I need "yes" in C1 2) If(b1="XYZ"," ","Yes") - if its false I need "yes" in C1 I need 2 conditions result in C1, how to do that... Thanks in advance |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
=IF(OR(A1="ABC",B1<"XYZ"),"Yes","")
"muddan madhu" wrote: Multiple if condition Here the two conditions 1) If(a1="ABC","Yes"," ") - if it is true I need "yes" in C1 2) If(b1="XYZ"," ","Yes") - if its false I need "yes" in C1 I need 2 conditions result in C1, how to do that... Thanks in advance |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() try this : =IF(OR(A1="abc",B1="xyz"),"yes","") |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]() sorry instead of b1="xyz" put : b1=<"xyz" THAT SHOULD DO IT........ |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I tried all the formula.......... it works if there is value in the
cell .... but it didn't work if there is no value in the cell. On Apr 13, 9:40*pm, pierre wrote: sorry *instead of * b1="xyz" * * put : *b1=<"xyz" THAT SHOULD DO IT........ |
#7
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
muddan madhu
You need to define "didn't work"!!! If you get an error your can trap for errors with: IF(ISERROR(Your formula),"",(Your Formula)) Mike Rogers "muddan madhu" wrote: I tried all the formula.......... it works if there is value in the cell .... but it didn't work if there is no value in the cell. On Apr 13, 9:40 pm, pierre wrote: sorry instead of b1="xyz" put : b1=<"xyz" THAT SHOULD DO IT........ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Multiple condition | Excel Discussion (Misc queries) | |||
sumif by multiple condition | Excel Discussion (Misc queries) | |||
lookup with multiple condition, but one condition to satisfy is en | Excel Worksheet Functions | |||
Multiple condition help needed | Excel Worksheet Functions | |||
How do I sum an array with multiple condition?? | Excel Worksheet Functions |