lookup formula that finds values to sum across sheets

Solola

Board Regular
Joined
Sep 23, 2003
Messages
73
I'm working on a summary sheet in Excel 2007 that sums values from all preceeding sheets (which have the same row and column headings, but in different row/columns) and displays them on a single sheet. Essentially, it's a rollup of all detail sheets.

The issue I have is that I need the formula to do a lookup to each of the detail sheets to find the value to sum, since the intersection of total revenue for the current month, for example, might be in cell A1 on the first sheet, and A4 on the second sheet, and B2 on the third, and so on.

I realize I can write a series of 10+ vlookup or index/match formulas to find the intersection, and add them together in my formula, but I was wondering if there was a way to write a single formula that would find them.

I tried an array formula, but this errored out with a #REF error. (You must not be able to use this across multiple sheets?)
{=SUM(IF('PE160:PE306'!$C$1:$C$155=$C14,'PE160:PE306'!D$1:D$155,0))}
(where my sheets range from PE160 to PE306, with many more in between, and within those sheets, my row headers are in column C, my row heading lookup value from my rollup sheet is in cell C14, and the values to be summed are in column D. In this example, I'm assuming that the columns are consistent across sheets...but I'd ideally like to do a lookup for that, too.)

I also tried a sumproduct, but it doesn't appear to work across sheets, either.

Does anyone have a solution for me, please? Thanks so much for your help!
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.

Forum statistics

Threads
1,215,061
Messages
6,122,921
Members
449,094
Latest member
teemeren

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