Sum across multiple sheets with 2 way look up

bdom2369

New Member
Joined
Sep 3, 2015
Messages
10
I am looking for a way to populate a summary table. I export multiple sources of data, which all have the same information but arranged in a different way. The constant would be the date that I keep on the far left. So what I am looking for is a way to use the date then look up the column header, go across all the sheets and total. I am thinking index match match with a sum product formula. Maybe have to use an indirect. Or vlookup with date, match row 1 for header, then sum across all the sheets. I can't get it to work out yet.

Here is some sample data in a google drive:
https://drive.google.com/folderview?id=0B9YXUQxu5Av0ODg4eXoyUnZmNXM&usp=sharing

Thanks,
Brandon
 
@Ingolf

Ah! I didn't even consider that the OP might be on a different system.

I hope you're right, as that would explain a lot.

Many thanks.

Regards
 
Upvote 0

Excel Facts

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.
Are you sure that you've committed the formula as an array formula?

What's the precise current formula you are using? Have you updated your shared workbook with your latest attempt?

Regards
 
Upvote 0
No luck, it will just error out, still stuck :(

For last time. it is array formula.
You don't folow:

**Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).

just copy in B2 this formula:

=SUM(IF(T(OFFSET(INDIRECT("'"&Sheets&"'!A1");;{1\2\3\4}))=B$1;SUMIF(INDIRECT("'"&Sheets&"'!A:A");$A2;OFFSET(INDIRECT("'"&Sheets&"'!A:A");;{1\2\3\4}))))
 
Last edited:
Upvote 0
Thanks guys, I know its an array formula, it still isn't working for me. My excel will say "formula contains error" on this version and I can't even get to evaluate formula to test it. The previous version would "kind of work". But not on the whole table. Also none of it would work with an actual data sample due to it not be dynamic enough. I have tried many variations and this and is not going the direction I am looking for.

I am now am working on a sum product (so I don't have to do array), with a vlookup for the date, then index for the data range of sheets, with a match for column header. I am almost there, but I still don't have it yet.
 
Upvote 0
Why can't you be more specific? What does "kind of work" mean? You have previously posted a link to a shared workbook, so you could quite easily use that as a reference for any discussions.

And, for the third time, I have already mentioned that I would be more than happy to amend my set-up to account for any number of columns. Though of course it would be useful if you could manage to get the static version working first.

Regards
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

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