(excel 2013) Dynamic change of formula depending on number of items in another sheet

≯℡__Kan透↙ 提交于 2019-12-06 04:50:09

What you describe is a 3D formula. You can do something like

=SUM(Sheet1:Sheet4!A1)

Excel will sum cell A1 in all sheets from Sheet1 to Sheet4 and any sheets that are between these two. You can insert new sheets and they don't have to be named SheetX.

In order to manage the 3D formulas more efficiently, you could use two sheets like bookends before and after the sheets you want to include in the formula: Insert two sheets called "First" and "Last" and ensure that all sheets you want to sum are arranged between these two sheets. Then on your intro sheet use

=SUM(First:Last!A1)

You can hide the "First" and "Last" sheets and only unhide them when you need to check your sheet arrangements for your formulas.

You can insert new sheets and make sure that they are located between your bookend sheets. Drag sheets in and out between the bookends to include or exclude them from the 3D formula.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!