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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
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..
 

_PhilW_

Board Regular
Joined
Nov 13, 2008
Messages
143
The following should work...

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

Silo

Active Member
Joined
Mar 8, 2004
Messages
447

ADVERTISEMENT

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
 

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
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..
 

_PhilW_

Board Regular
Joined
Nov 13, 2008
Messages
143

ADVERTISEMENT

^ Or...

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

Silo

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

Jonmo1

MrExcel MVP
Joined
Oct 12, 2006
Messages
44,061
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)
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,163,424
Messages
5,831,534
Members
430,074
Latest member
Francis101

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
Top