Match formula not returning correct values.

P

pm

I have a spreadsheet I am trying to match like model numbers, however, my
formula is returning #N/A, or if there is a match it returns some number. I
am using =match(A2,D$2:D$24360). Thanks for any help

A B C
D
Model # Serial # Model
32HL67 AM339004740 #N/A C2405
32HL67U AM379011491 #N/A TM233XC
32HL67U AM37010883 #N/A TM243XC
32HL67U AM37021155 #N/A PT46DL10
 
D

Dave Peterson

First, since you're matching on text, you may want to look for an exact match:

=match(a2,d$2:d$24360,0)

And =match() returns the row number in that range for the first cell that
matched values. If there is no match, you get the error.

Maybe you wanted an indicator to show if there was a match or not:

=isnumber(match(a2,d$2:d$24360,0))
will return True if there's a match, False if there is no match.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

conditional formula or macro 5
Compare two worksheets - macro help 2
Formula Help 2
wdActiveEndSectionNumber 1
formula error 1
MATCH returning #N/A 3
MATCH function (2003 -> 2007) 2
Getting a MATCH error 1

Top