superclass12
New Member
- Joined
- Aug 5, 2011
- Messages
- 4
I am completely lost on how to go about VBA/Macro syntax on the calculation I would like to obtain from multiple sheets. So your help would be greatly appreciated.
I have, let's say, 50 investments, all with individual sheets. Thus, sheets are 1 through 50. On cell A1 of each sheet, I have % value which signify each investment's return.
On a completely separate sheet called, "Allocations", I have the list of investments (50 investments) with how much % is allocated to each investment out of the entire portfolio. (Let's say the % values are on B1 to B50)
On "Summary" sheet, I would like to find out the following:
=1!A1 * Allocations!B1 + 2!A1 * Allocations!B2 + 3!A1 * Allocations!B3 + etc.
Is there easier way to do this without repeating the formula 50 times or more?
Thanks.
I have, let's say, 50 investments, all with individual sheets. Thus, sheets are 1 through 50. On cell A1 of each sheet, I have % value which signify each investment's return.
On a completely separate sheet called, "Allocations", I have the list of investments (50 investments) with how much % is allocated to each investment out of the entire portfolio. (Let's say the % values are on B1 to B50)
On "Summary" sheet, I would like to find out the following:
=1!A1 * Allocations!B1 + 2!A1 * Allocations!B2 + 3!A1 * Allocations!B3 + etc.
Is there easier way to do this without repeating the formula 50 times or more?
Thanks.