INDEX/MATCH - not working quite right

awrex

New Member
Joined
Jul 29, 2011
Messages
6
I have a index/match formula that returns the contents of a cell from the prior month, however it's only working about 80% of the time.

I have 21 rows with the formula referencing corresponding worksheets. About 11 of them reference 2 months prior vs 1 month prior.

=INDEX('WORKSHEET1'!C9:N9,MATCH(TEXT(MONTH(TODAY()),"mmm"),'WORKSHEET1'!C1:N1,0))

Aside from different worksheets the formula is the same across all.

The worksheets referenced are all the same as far as layout goes, so I'm at a loss for what is the cause.
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Actually looks like it's just returning the first month. Going through analysis paralysis...
 
Upvote 0

Forum statistics

Threads
1,215,265
Messages
6,123,961
Members
449,137
Latest member
yeti1016

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