Index/Match Formula Error

brandiemz

New Member
Joined
Aug 25, 2008
Messages
2
I'm trying to use an index, match formula to pull data from a table using two drop down boxes and a date. The formula pulls correctly if I have the first option selected in the first drop down but errors out if I select the second option in the drop down. Anyone have any suggestions on what I need to do to be able to use all the options in my drop down boxes? My formula is:
=INDEX('Tab 1'!$E$3:$ZZ$1200,MATCH($B$11,'Tab 1'!$D$3:$D$1200,0),MATCH($B$6,'Tab 1'!$A$3:$A$1200,0),MATCH(D$7,Tab 1'!$E$2:$ZZ$2,0))

where $B$11 and $B$6 are drop down boxes and D$7 is a date and is not a drop down box.

Thanks in advance.
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
INDEX has 2 argument, not 3. It's hard to give a specific solution since you haven't posted a sample of your data, but you might be better using SUMPRODUCT, or a SUM(IF array formula.
 
Upvote 0
Looks like...

Control+shift+enter, not just enter:
Code:
=INDEX('Tab 1'!$E$3:$ZZ$1200,
   MATCH(1,IF('Tab 1'!$D$3:$D$1200=$B$11,IF(1'!$A$3:$A$1200=$B$6,1)),0),
   MATCH(D$7,Tab 1'!$E$2:$ZZ$2,0))
 
Upvote 0
Aladin Akyurek said:
Looks like...

Control+shift+enter, not just enter:

=INDEX('Tab 1'!$E$3:$ZZ$1200,
MATCH(1,IF('Tab 1'!$D$3:$D$1200=$B$11,IF(1'!$A$3:$A$1200=$B$6,1)),0),
MATCH(D$7,Tab 1'!$E$2:$ZZ$2,0))
You left out the full sheet name in the 2nd IF.

Aren't you glad I'm here! :laugh:
 
Upvote 0

Forum statistics

Threads
1,224,564
Messages
6,179,543
Members
452,924
Latest member
JackiG

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