Link to home
Start Free TrialLog in
Avatar of wcody
wcodyFlag for United States of America

asked on

Adding sheets with summary automatically updated

i have to add throughout the year many sheets to this document.  Is there a way to set up the cover sheet to just add the the additional sheet and keep look at the right cells for the new sheet?
Project-Master-List.xlsx
Avatar of Michal Ziemba
Michal Ziemba
Flag of Poland image

Hi,
If you would add an extra column with a sheet name in the Cover Sheet than based on the value in this column you might refer to cells in particular sheet by INDIRECT function.
In the example, let's say you put "P1" value in the A6 cell in the  Cover Sheet and in the cell J6 you put the formula =INDIRECT(A6&"!$F$4") then you should get the amount of budget in the sheet P1.

The issue I see here is that while BUDGET and dates are in the same cell in each sheet the estimated and remaining budget is in different cells in each sheet. This probably might be solved with another function which deals with a reference which I don't recall right now.

The INDIRECT function is well described here
and building on what Michal suggests, you could add the formulas in the cover sheet even when the 'PX' sheets don't exist (yet).
However, your indirect will give an error if the sheet does not exist, so adapt the formula to

=iferror(indirect(a6&"!$F$4"),"")

Or when you make the coversheet a table, excell will autopopulate the formulas when you 'add' a record, by p.e. typing the sheet name 'PXX' in the A column; that way you don't need to cover for the non existing sheets.
Avatar of wcody

ASKER

I don't quite follow what you mean with this, "Or when you make the coversheet a table, excell will autopopulate the formulas when you 'add' a record, by p.e. typing the sheet name 'PXX' in the A column; that way you don't need to cover for the non existing sheets."  could you show or try to explain what you mean?
ASKER CERTIFIED SOLUTION
Avatar of Koen
Koen
Flag of Belgium image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial