=MATCH not working as intended - what am I missing?

vicber

Board Regular
Joined
May 21, 2004
Messages
91
Hello guys,
I hope you can shed some light on this:

Looking for a Date in specific ranges
There are 4x the same date in two different lookup_area
2x in each area

I have a this formula, =MATCH(F61,B4:BK4) which returns the correct column number
Date in F61 is present in AR4 & AS4, it returns AR4 (44), which is what I want

In the same worksheet, I have this =MATCH(F61,BL4:DU4), which returns the same column number (44), even if the lookup_area is not the same
Date is also present in DB4 & DC4, I expected the formula to return 106 (column DB)

Why is the second formula not returning column 106 (DB), as it should? (or, I guess, it does what it should, but not what I expect)

Thanks in advance
Bernard
 

Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
Its returning 44 because DC4 is the 44th cell in the range BL4:DU4 where it finds the date in a presumably sorted list of dates.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,325
Members
452,635
Latest member
laura12345

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