Why a MATCH formula may not work?

excelos

Well-known Member
Joined
Sep 25, 2011
Messages
592
Office Version
  1. 365
Platform
  1. Windows
Hello,

Any idea why a MATCH command does not work? I definitely see the value but it returns N/A.
I have entered it as an array.

Is there a formatting issue?

Thanks
 
If its a date in a table header than match isnt going to match it. It will see the header as text. Something like this might work:

=MATCH(TRUE,INDEX(--('Date Tracker'!$E$5:$DT$5)=J6,0),0)

Thanks but what is --('Date Tracker'!$E$5:$DT$5)=J6 ?
 
Upvote 0

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
As your dates are headers in a table they will be seen as text. The double negative will coerce the text dates into real dates. They can then be compared to J6 to see if they are equal. This will produce an array of TRUE/FALSE values.
 
Upvote 0
That's the formula:

{=MATCH(J6,'Date Tracker'!$E$5:$DT$5,0)}

I tried to specify a date in J6 and it still does not find it.

I made sure that 'Date Tracker'!$E$5:$DT$5 and J6 are in date format.

This match formula as is does not require control+shift+enter.

In case 'Date Tracker'!$E$5:$DT$5 consists of text numbers: Control+shift+enter, not just enter...

=MATCH(J6,'Date Tracker'!$E$5:$DT$5+0,0)

Does this succeed?
 
Upvote 0
This match formula as is does not require control+shift+enter.

In case 'Date Tracker'!$E$5:$DT$5 consists of text numbers: Control+shift+enter, not just enter...

=MATCH(J6,'Date Tracker'!$E$5:$DT$5+0,0)

Does this succeed?

Nope, it doesn't work
 
Upvote 0
What does it do, return #N/A or a wrong result?

Care to post E5:K5 from Date Tracker'!$E$5:$DT$5?

Ah it works when inserted as array formula!
Btw, you do +0 to convert it into text? Or how exactly does it work?

Thanks
 
Last edited:
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
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