#1   Report Post  
Ben
 
Posts: n/a
Default vlookup

Hi all,

vlookup, looks up a value and then place it somewhere else.
I would like to know if there's a way to do the opposite. That is, if I
find a value, don't display it, but if the value can't be found by vlookup,
place some character in the cell to indicate it as such? Is there a way to
do this? Thanks for sharing your thought.

Ben



--

  #2   Report Post  
B. R.Ramachandran
 
Posts: n/a
Default

Hi,

=IF(ISERROR(VLOOKUP(A2,$D$2:$D$10,1,0)),"x","")
Here, if A2 does not have a match in D2:D10, an 'x' is returned.

Regards,
B. R. Ramachandran

"Ben" wrote:

Hi all,

vlookup, looks up a value and then place it somewhere else.
I would like to know if there's a way to do the opposite. That is, if I
find a value, don't display it, but if the value can't be found by vlookup,
place some character in the cell to indicate it as such? Is there a way to
do this? Thanks for sharing your thought.

Ben



--

  #3   Report Post  
Myrna Larson
 
Posts: n/a
Default

=IF(ISNA(MATCH(<your value,<your table, 0)),"###","")


On Wed, 5 Oct 2005 12:29:05 -0700, Ben wrote:

Hi all,

vlookup, looks up a value and then place it somewhere else.
I would like to know if there's a way to do the opposite. That is, if I
find a value, don't display it, but if the value can't be found by vlookup,
place some character in the cell to indicate it as such? Is there a way to
do this? Thanks for sharing your thought.

Ben

  #4   Report Post  
Ben
 
Posts: n/a
Default

Wow, what a great idea,
thanks B. R. and Myrna.

Ben

--



"Ben" wrote:

Hi all,

vlookup, looks up a value and then place it somewhere else.
I would like to know if there's a way to do the opposite. That is, if I
find a value, don't display it, but if the value can't be found by vlookup,
place some character in the cell to indicate it as such? Is there a way to
do this? Thanks for sharing your thought.

Ben



--

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
Using single cell reference as table array argument in Vlookup CornNiblet Excel Worksheet Functions 3 September 22nd 05 09:15 AM
VLOOKUP Limitations chris_manning Excel Worksheet Functions 2 August 9th 05 06:23 PM
Have Vlookup return a Value of 0 instead of #N/A Mr Mike Excel Worksheet Functions 4 May 25th 05 04:51 PM
vlookup data hidden within worksheet Excel Worksheet Functions 0 January 26th 05 12:09 PM
Vlookup info being used without vlookup table attached? Excel Worksheet Functions 0 January 25th 05 10:43 AM


All times are GMT +1. The time now is 03:16 PM.

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"