index match, lookup formula

Silo

Active Member
Joined
Mar 8, 2004
Messages
447
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

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
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..
 
Upvote 0
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
 
Upvote 0
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..
 
Upvote 0
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)
 
Upvote 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)
 
Upvote 0

Forum statistics

Threads
1,213,537
Messages
6,114,216
Members
448,554
Latest member
Gleisner2

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