Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   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

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?

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1,311
Default lookup single value in a range and return specified value

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?



  #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?




  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,718
Default lookup single value in a range and return specified value

=IF(ISNUMBER(MATCH(A9,B2:B6,0)),"X","")


"bjw" wrote:

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?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Return single value on multipl criteria lookup maplesugarsnow Excel Worksheet Functions 3 July 1st 06 01:03 PM
How do I lookup multilple criteria and return a single value StephenAccountant Excel Worksheet Functions 1 June 9th 06 03:23 AM
Lookup & Return Range of Data shehasclass Excel Discussion (Misc queries) 2 April 6th 06 04:17 PM
How to return a single value for a range of numbers Tami Excel Worksheet Functions 3 January 13th 06 02:34 AM
Return Range of Numerical Values in Single Column based on Frequency Percentage Sam via OfficeKB.com Excel Worksheet Functions 9 October 28th 05 11:01 PM


All times are GMT +1. The time now is 05:54 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"