Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 425
Default Exact lookup formulas, VB Instead?

I have a problem when using lookup formulas. I even updated the formula
recently using another formula I found. I use this formula to look up
part #'s and return another associated number. It is VERY important
that I get the right numbers however, it appears that these formulas
always look up the closest match instead of the exact match. For
example, if I look up part h006, and it is not listed, I need it to say
just that specifically.

First formula: Basic Lookup Formula
Second formula: IF(ISNA(LOOKUP(x)),"PART # NOT LISTED",LOOKUP (x))

x (replaces search criteria)

Can this be done in VB instead?
This is a major project and I cant have bad lookups.
thanx

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,440
Default Exact lookup formulas, VB Instead?

Use VLOOKUP.
For an exact match, the 4th argument of VLOOKUP() has to be FALSE

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"J.W. Aldridge" wrote in message ups.com...
|I have a problem when using lookup formulas. I even updated the formula
| recently using another formula I found. I use this formula to look up
| part #'s and return another associated number. It is VERY important
| that I get the right numbers however, it appears that these formulas
| always look up the closest match instead of the exact match. For
| example, if I look up part h006, and it is not listed, I need it to say
| just that specifically.
|
| First formula: Basic Lookup Formula
| Second formula: IF(ISNA(LOOKUP(x)),"PART # NOT LISTED",LOOKUP (x))
|
| x (replaces search criteria)
|
| Can this be done in VB instead?
| This is a major project and I cant have bad lookups.
| thanx
|


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
Find exact value using LOOKUP kawfeehaus Excel Discussion (Misc queries) 8 November 3rd 09 03:27 AM
Lookup exact number stetka Excel Discussion (Misc queries) 4 October 26th 07 12:59 AM
Need to do an EXACT LOOKUP archsmooth Excel Worksheet Functions 1 June 4th 07 06:16 PM
LookUp - Exact only Desparate Excel Worksheet Functions 2 November 11th 04 09:52 AM
LookUp - Exact only Desparate Excel Worksheet Functions 1 November 11th 04 09:45 AM


All times are GMT +1. The time now is 06:04 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"