View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Wigi Wigi is offline
external usenet poster
 
Posts: 396
Default Find a Cell Value In a Range


COUNTIF function does this for you.

=IF(COUNTIF(range,valuetolookup)0,1,0)



--
Wigi
http://www.wimgielis.be = Excel/VBA, soccer and music


"Michael" wrote:

I would like to look-up a cell's value in a range of cells and return 1 if it
exists or zero if it does not exist in the specified range. I have got to
believe this is a fairly common need. Can anyone help me out with this.