Indirect and Sum

ORoxo

Board Regular
Joined
Oct 30, 2016
Messages
149
Guys, for fun, I'm trying to learn something new.

I was wondering if it would be possible to have a report like the one on the picture. In columns, you would have the vendor's name and in rows, the KPI associated.

OcM1Ma7.png


The information would be pulled from the sheets which would have the vendor's name. In other words, in this case, I would have three sheets named Diogo, Fernando and João each with the KPIs mentioned, Sales, Profit and Player.

So far, I have been able to retrieve the information from the other sheets by using the following formula:

Code:
=SUM(INDIRECT(F$7&"!"&$E8))

However, this requires me to create range names. I was wondering if there's an alternative that works with formulas alone.

Thanks!
 
Last edited:
No problem. For completeness, as I've recently been reminded in a different thread, offset and indirect are both "volatile" functions. This means that they are recalculated whenever anything anywhere on the spreadsheet is changed - which can noticably impact on recalculation times if there are a lot of them on a very large spreadsheet. But provided that you're not looking at too many KPI's / individuals, it shouldn't be a problem.

For the purpose of my example it works! Thanks ;)
 
Upvote 0

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,223,609
Messages
6,173,331
Members
452,510
Latest member
RCan29

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