![]() |
![]() |
|
|||||||
| 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 |
|
New Member
Join Date: Apr 2002
Posts: 1
|
I HAVE A COLUMN OF 1000 CELLS WITH SERIAL CODES IN THEM (18 DIGIT ALPHANUMERIC). IN ANOTHER COLUMN I WILL ADD SAY 25O CODES THAT I KNOW APPEAR IN THE FIRST AND ASK THE TWO TO COMPARE AND HIGHLIGHT EXACT MATCHES - THIS WORKS TO A POINT BUT IT ALSO HIGHLIGHTS ALL OTHERS THAT END WITHIN 100 OF THE ORIGINAL NUMBER - HOW CAN I GET EXACT MATCH ONLY?
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Mar 2002
Posts: 363
|
Make sure you're using a match type of zero to find an exact match. Your formula should look as follows:
MATCH(lookup_value,lookup_array,0)
__________________
It's never too late to learn something new. Ricky |
|
|
|
|
|
#3 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,027
|
Hiya,
- you might want to give your Caps Lock key a friendly tap to turn it off. If you're using VLOOKUP, you want to include a 4th FALSE argument for an exact match. If you're using MATCH - make sure your Match_type argument is set to 0. Hope that helps Adam |
|
|
|
|
|
#4 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,317
|
Quote:
Why not use 0 also in VLOOKUP instead of FALSE? Aladin |
|
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Feb 2002
Location: Southfield,MI USA
Posts: 1,027
|
You know I never really thought about it, Aladin - good call. I'll use that from now on.
Thanks! Adam |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|