compare a value to many other values

V

Viktor

I want to check if a certain value (cell) is equal to any of a number of
cells (N5:AQ32). If the value equals one or more of the cells i want it to
return "1", if not return "0".

Thanks in adwance.

Viktor
 
D

Dave Peterson

another one:

=--(COUNTIF(N5:AQ32,A1)>0)

The -- stuff changes True to 1 and false to 0.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top