P
P
partyzanx2018-11-20 21:12:05
excel
partyzanx, 2018-11-20 21:12:05

If a cell is equal to at least one of the column cells?

I want to write the following formula
=IF(D2=O2:O2928, "1", "0")
Like if the content of cell D2 is equal to at least one cell from O2:O2928.
But it always returns 0, even though it's not true.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
partyzanx, 2018-11-20
@partyzanx

Helped
=IF(COUNTIF(O:O;D2), "1", "0")

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question