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

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

BrianB

Well-known Member
Joined
Feb 17, 2003
Messages
8,127
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.
 

boot

New Member
Joined
Aug 4, 2005
Messages
17
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
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,057
Messages
5,835,162
Members
430,343
Latest member
t0m_c

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
Top