Excel IF function query

Soldato
Joined
30 Dec 2004
Posts
2,869
Location
Stoke-on-Trent
Just asking if there is an easier way to write an IF string.

Basically I want to see if a value in (lets say) cell C15 is in listed in cells C4 to D4 if so display "x".

I can do this through repeated nested IF functions but looks a bit messy so I thought whether there is an option to do something like this:-

=IF(C15=RANGE(C4:H4),"X",)

where RANGE is some other function

Thanks
 
Back
Top Bottom