INDEX and MATCH returns #NA

paras7

New Member
Joined
Jan 6, 2016
Messages
6
2i7pemr.jpg


Hi,
I have monthly planner data in a spreadsheet with fields as date(one date repeats 3 times to display 3 eight hrs shifts/day separately), shift(a/b/c) and schedule for 8 sections(S1 to S8).
I wish to have a formula where I can supply date and shift so that I can get the schedule for the corresponding date/shift for any particular section.

I've been using INDEX & MATCH for this purpose but for some reason its not giving the result that I'm looking for. I've tried to input array formula by ctrl+shift+enter.

my formula looks like

{=INDEX($A$1:$J$181,MATCH(1,($A$1:$J$181=$L$1)*($B$1:$J$181=$M$1),0),7)}

Here I tried to have Today's A-shift schedule for Section-5 i.e the 7th column(column G).
Please correct me.

Regards
 

Excel Facts

Which Excel functions can ignore hidden rows?
The SUBTOTAL and AGGREGATE functions ignore hidden rows. AGGREGATE can also exclude error cells and more.

Forum statistics

Threads
1,223,907
Messages
6,175,300
Members
452,633
Latest member
DougMo

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