Excel Compare numbers on 1 tab to other tabs in workbook.

Joined
Mar 12, 2018
Messages
1
Reaction score
0
I need to compare a number on tab 1 to the tabs 2& 3 in my workbook. If found-yes, if not found-no.
 
Welcome to the forum :)

The COUNTIF formula could be used to do this - it looks for specific criteria within a range:

=COUNTIF(range,criteria)

Because your range is split over two sheets, I would also use the OR function, and use the IF function to give your Yes/No result. It could look something like this:

=IF(OR(COUNTIF(Sheet2!A1:C5,B1)>0,COUNTIF(Sheet3!A1:C5,B1)>0),"Yes","No")

Where the green text is the cell on sheet 1 (ie the number you want to find), the red text is the range on sheet 2, and the blue text is the range on sheet 3.

Hope this helps!
 
Back
Top