![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Join Date: May 2003
Location: Deep in the heart of Texas!
Posts: 33
|
I have a column of numbers that I'm usuing a VLOOKUP on to retrieve the data from another tab in the same spreadsheet. The VLOOKUP is bringing back the data for next closest number but not the exact number.
Ex: I am searching for 01041, the VLOOKUP brought back the data for 01040 because 01041 wasn't in my array and 1040 iss the closest number it found. How do I make it return the data only if it's an exact match? I have a project due in the AM and I'm stressing over this problem, your help is appreciated. |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: May 2002
Posts: 12,561
|
set the last parameter to FALSE or 0 (which are equivalent). fwiw, it's usually best to post up the formula you're using when you've got a question about it...
|
|
|
|
|
|
#3 |
|
Join Date: Feb 2002
Posts: 7,605
|
In addition to Paddy's solution, you may want to look at this thread. If there is no exact match, VLOOKUP will return #N/A.
http://216.92.17.166/board2/viewtopic.php?t=62102 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|