#1
|
|||
|
|||
IF OR logical function
Hi, I have a question about IF logical function. So, the condition is: if any of cell A5,B5,C5 are filled with letter X, then cell D5 should be filled with letter X as well. Otherwise (else), it should remain blank. I beleive IF OR function should be used, but... You can see the attached pic. Thanks |
#2
|
||||
|
||||
In D2 try:
=IF(COUNTIF(A2:C2,"X")>0,"X","") Then copy formula down. or you can use =IF(OR(A2="X",B2="X",C2="X"),"X","") This latter formula is okay for 3 columns, but if you have lots of columns to check the former formula becomes the better choice. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using IF Function where logical test is for range of values | guciolino | Excel | 10 | 02-13-2017 08:05 AM |
Search text using logical operations? | paik1002 | Word | 1 | 02-21-2016 11:48 PM |
Logical Functions - IF, AND, OR | juhikothari | Excel | 1 | 04-24-2015 12:39 AM |
Logical cursor movement is not working | capitala | Word | 5 | 12-08-2013 02:25 AM |
print logical pages with custom numbering | livingem | Word | 1 | 06-06-2012 03:48 PM |