Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default multiple if condition

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,572
Default multiple if condition

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,718
Default multiple if condition

=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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default multiple if condition


try this :

=IF(OR(A1="abc",B1="xyz"),"yes","")
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 149
Default multiple if condition



sorry instead of b1="xyz" put : b1=<"xyz"

THAT SHOULD DO IT........


  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 747
Default multiple if condition

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 284
Default multiple if condition

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Multiple condition ak Excel Discussion (Misc queries) 1 March 23rd 08 10:18 AM
sumif by multiple condition ajay Excel Discussion (Misc queries) 5 December 28th 07 03:16 PM
lookup with multiple condition, but one condition to satisfy is en Eddy Stan Excel Worksheet Functions 2 October 27th 07 02:06 PM
Multiple condition help needed Curtis Excel Worksheet Functions 6 January 16th 06 01:41 AM
How do I sum an array with multiple condition?? flutie1668 Excel Worksheet Functions 0 May 26th 05 04:05 PM


All times are GMT +1. The time now is 08:55 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"