Welcome to the Excel Forum

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.

Please Register to Remove these Ads

Please Register to Remove these Ads



Closed Thread
  #1  
Old 12-31-1969, 07:00 PM
skip
Guest
 
Posts: n/a
Using a VLOOKUP Formula to Check If a Value Exists

Please Register to Remove these Ads

Great tips - I was on the microsoft site for over an hour trying to figure it out, took me 5 minutes with this tip. Thanks!
  #2  
Old 08-25-2005, 03:48 AM
ExcelTip ExcelTip is offline
Valued Forum Contributor
 
Join Date: 07 Dec 2004
Posts: 663
ExcelTip is becoming part of the community
Using a VLOOKUP Formula to Check If a Value Exists

Problem:

Column B contains values to look up in List1 (Column A).
We want to modify the results returned by the VLOOKUP function to include the lookup term as well as an indication of whether or not the value was found.

Solution:

Use the IF, ISNA, and VLOOKUP functions as shown in the following formula:
=IF(ISNA(VLOOKUP(B2,$A$2:$A$7,1,FALSE)),B2&\"Not Found\",VLOOKUP(B2,$A$2:$A$7,1,FALSE)&\"Found\")
  #3  
Old 07-23-2008, 08:41 PM
gvasuus gvasuus is offline
Registered User
 
Join Date: 23 Jul 2008
Location: Memphis, TN
Posts: 1
gvasuus is becoming part of the community
Thumbs up Using a VLOOKUP Formula to Check If a Value Exists

Worked well. Thanks a lot.


Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Forum Jump