Index match formula with multiple criteria that references table columns

mgabriel2490

New Member
Joined
Mar 1, 2016
Messages
41
I have data that is pulled into a sheet that looks like below. I have made it a table since data is added to it, so I can reference the table columns and not update the ranges each time.



DateAreaProductWidgetQuotaNeedlesAllabcdefghiTotalTestATestBPer%DT
4-Jana1ab2010034503000000#N/A6090255280.373824110.0%
4-Janb2ac402013503000000#N/A03010570.011671166.7%
4-Janc3ad601752.544800000000#N/A00480494.8348219103.1%
4-Jand4ae8028048003000000#N/A609039042043107.7%
4-Jane5af2012848000002000#N/A6080400448.074719112.0%
4-Janf6ag402600260000025040#N/A4511015081.93277104054.6%
4-Jang7ah60130480015000030#N/A60105375455.075821121.4%
4-Janh8ai802704800203501000#N/A6012535540546114.1%
4-Jani9aj207419480000070030#N/A60160320600.97211391187.8%
4-Janj10ak403176003520200454530#N/A602553453175591.9%
4-Jank11al6040000480048000030#N/A60138342336.0403701898.3%
4-Janl12am801804.614800000000#N/A00480509.5369226106.2%
4-Janm13an20283914800530190060#N/A60192288238.513591582.8%
4-Jann14ao4061004800200030030#N/A60140340494.12721076145.3%
4-Jan000-000000000#N/A00-----
4-Jan000-000000000#N/A00-----
4-Jan000-000000000#N/A00-----
4-Jan000-000000000#N/A00-----
4-Jan000-000000000#N/A00-----
4-Jan000-000000000#N/A00-----
4-Jan000-000000000#N/A00-----
4-Jan000-000000000#N/A00-----
4-Jan000-000000000#N/A00-----
4-Jan000-000000000#N/A00-----
4-JanSector A Summary89312.15614035266551920045250#N/A645151546255151.4931221.67107.27%24.67%

<tbody>
</tbody>



On another sheet/tab I want to have a summary for each day. The following Index/Match formula worked before making the Data into a table....

'=INDEX(Data!G$2:G$4591,MATCH(1,('Daily'!$A17=Data!$B$2:$B$4591)*('Daily Shop data'!$A$16=Data!$C$2:$C$4591),0))


My summary sheet looks like this...

Sector A SummaryNeedlesAllabcdefghiTotalTestATestBPer%DT
4-Jan
5-Jan
6-Jan
7-Jan

<tbody>
</tbody>


I have tried this formula but cannot get it to work:

=INDEX(INDIRECT("data["&B10&"]"),MATCH(1,($A11="Pivot[Date]")*($A$10="pivot[area]"),0))


I want it to Index based on the summary page's column name that matches with the data table's column name, then match for whatever date (4-jan, 5-jan, etc), and also match for Sector A Summary.


Any help is greatly appreciated!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN

Forum statistics

Threads
1,213,565
Messages
6,114,338
Members
448,569
Latest member
Honeymonster123

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