Speed up INDIRECT formula (or find alternative)

easteregg

New Member
Joined
Dec 1, 2017
Messages
1
Hey folks,
trying to build a sales report in Excel, which sums up all the sales on a product level.
For each product I have multiple sales people, each of which has his own sheet.

Lets say this is the structure:
Formula-SheetReport-ApplesApples-JohnApples-MaryApples-Donald

<tbody>
</tbody>

Formula-Sheet
A
1Apples-John
2Apples-Mary
3Apples-Donald

<tbody>
</tbody>
A1:A3 = Named Range "AppleSheets"

Report-Apples:
ABC
1DateApples Sold (Total)Revenue (Total)
201.01.2018612
302.01.2018510
.........

<tbody>
</tbody>
B2=SUMPRODUCT(SUMIF(INDIRECT("'"&AppleSheets&"'"&"!A"&ROW()),A2,INDIRECT("'"&AppleSheets&"'"&"!B"&ROW())))
C2=SUMPRODUCT(SUMIF(INDIRECT("'"&AppleSheets&"'"&"!A"&ROW()),A2,INDIRECT("'"&AppleSheets&"'"&"!C"&ROW())))

Apples-John:
ABC
1DateApples SoldRevenue
201.01.2018510
302.01.201800
.........

<tbody>
</tbody>

Apples-Mary:
ABC
1DateApples SoldRevenue
201.01.201812
302.01.201848
.........

<tbody>
</tbody>

Apples-Donald:
ABC
1DateApples SoldRevenue
201.01.201800
302.01.201812
.........

<tbody>
</tbody>

Since I have ~20 Sheets like Report-Apples, and do it for the whole year, those INDIRECT formulas seem to slow down the calculations enormously.

Is there another way to solve this, which is not including INDIRECT?
Or is there a way to speed up INDIRECT?

Thanks in advance,
Jan
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
If all sheets have the same structure ( which seems to be the case) why not use a 3D reference sum

If for any reason sheets will be added or deleted create an empty sheet called "start" ( or whatever) before the 1st sheet and another one at the end called "End" (or whatever) and use those two sheets as first and last for your 3-D ref.
When you add sheet(s) just add them between Start end End
 
Upvote 0

Forum statistics

Threads
1,221,470
Messages
6,160,029
Members
451,611
Latest member
PattiButche

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