# index match, lookup formula

#### Silo

##### Active Member
Hello everyone

I’m struggling with a index match, lookup formula, here’s what I ‘m trying to do

I have a table range \$F\$5:\$EO\$36

Column F6:F36 represents dates
From G5:EO5 is the header row with location names
Range G6:EO36 are sum totals

In Cell AI1 I’m trying to right a lookup formula that will match the date reference in \$A\$3 to the matching date in range \$F\$5:\$EO\$36 with the location name in \$B\$1 that matches G5:EO5 and provide the sum totals G6:EO36

Any help will be greatly appreciated

Thanks everyone

### Excel Facts

Best way to learn Power Query?
Read M is for (Data) Monkey book by Ken Puls and Miguel Escobar. It is the complete guide to Power Query.
1st, I must say this is a STELLAR explaination of your poroblem. Kudos.
I wish everyone would explain their problem as well as you just did.

Anyway, this should do it.

=INDEX(F5:EO36,MATCH(A3,F5:F36,0),MATCH(B1,G5:EO5,0))

Hope that helps..

The following should work...

=vlookup(A1,F5:EO36,match(B1,F5:EO5,0),false)

Thanks Guys

As always you guys rock

Hello everyone

I had originally posted this tread and received assistance that met my purpose... However I had to modify my pivot table to be a bit more specific. I am struggling with editing the formula that was provided.

I have a Pivot Table range \$E\$4:\$S(Depending on how much data range will keep going)

E4:S4 is the header row with Date in Column E, Product Description in Column F & location names Columns G:S

So Column E has dates with Date Sum for each day (example: 8/1/2010 Total)
Range G5:S(Depending on how much data range will keep going) are sum totals

In Cell AI1 I’m trying to get the totals by location in names of location are in Range G4:S4 that match the location referenced in B1.

G5:S(how ever far it go’s) has the totals I want

I need to get the totals by date referenced in \$A\$3, but the pivot table refers to the totals Date and Total example “8/1/2010 Total”

I’m trying to incorporate this formula to search for date total “=TEXT(\$A\$3,"m/d/yyyy"" Total""")”

Any suggestion?

Thanks

Try

=TEXT(\$A\$3,"m/d/yyyy Total")

But I have a question...

It might be better to have your formula reference the SOURCE data, instead of the pivot table..

^ Or...

=TEXT(\$A\$3,"m/d/yyyy")&" Total"

The Souce data is in an external work book

This is the formula I trying to correct

these are the variations but still no success

=VLOOKUP(TEXT(\$A\$3,"m/d/yyyy"" Total"""),'DAPC Pivot'!\$E\$5:\$E\$300,MATCH(\$B\$1,'DAPC Pivot'!G5:\$R\$300,0),0)

=TEXT(\$A\$3,"m/d/yyyy")&" Total",'DAPC Pivot'!\$E\$5:\$E\$300,MATCH(\$B\$1,'DAPC Pivot'!G5:\$R\$300,0),0)

Post the formula that had working PRIOR to changing your pivot table..

But from the looks of what you just posted, try

=VLOOKUP(TEXT(\$A\$3,"m/d/yyyy Total"),'DAPC Pivot'!\$E\$5:\$P\$300,MATCH(\$B\$1,'DAPC Pivot'!G5:\$R\$300,0),0)

Replies
4
Views
112
Replies
11
Views
171
Replies
1
Views
299
Replies
10
Views
218
Replies
7
Views
152

1,214,779
Messages
6,121,512
Members
449,036
Latest member
dudeinaghillie

### 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?

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