Match using mixed numeric & alphanumeric list

boot

New Member
Joined
Aug 4, 2005
Messages
17
Hi,
I am having trouble using the MATCH function. The list that is being searched contains both numeric and alphanumeric entries, but only the alphanumeric entries give the correct result. It's almost as though it can't see the numeric entries. I have sorted the list into ascending order.
My formula is below...

[ =IF(ISNA(MATCH(D2,'day'!B2:B152,0)),"NO","YES") ]


I know this is normally something really simple but it's starting to drive me mad.
Any help would be much appreciated.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
A quick test shows no problem with this in my setup. XL97/NT4 (Cell format "General")

Similar problems with VLOOKUP() are solved by ensuring that columns are formatted as text - then selecting the columns in turn and using Data/Text to Columns/finish to force the re-format.
 
Upvote 0
Thanks Brian. I had already tried changing the formats but didn't think about using Data/Text to Columns etc. It worked a treat!

The headache is receeding now!

Thanks again
 
Upvote 0

Forum statistics

Threads
1,214,926
Messages
6,122,305
Members
449,079
Latest member
juggernaut24

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top