View Single Post
  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
bjw bjw is offline
external usenet poster
 
Posts: 12
Default lookup single value in a range and return specified value

hmm...thought i tried that already but i must have missed something...
Thanks, it worked!

"PCLIVE" wrote:

One way:

=IF(COUNTIF(B:B,A9)0,"X","")

HTH,
Paul

"bjw" wrote in message
...
I have a value in A9 that i want to look up in range B2:B6 and return an X
if
it is there and blank if it is not. How?