Comparing a cell value to a range
another way:
=MATCH(A1;B1:B5,)
if you receive an error then there is no such value in B1:B5
=IF(MATCH(A1,B1:B5,),"True","")
if you receive an "empty" cell then tehere in such value in B1:B5
On 24 Mar, 00:45, PaladinWhite
wrote:
Is there a function to see if the value of a cell appears in a range of cells?
I want to see if the value of cell A1 appears in any cell B1:B5. In other
words, if my sheet is such:
351 | 219
000 | 183
000 | 281
000 | 351 <-----
000 | 186
... I should get a TRUE return.
|