ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Retaining Formula (https://www.excelbanter.com/excel-programming/310470-retaining-formula.html)

Erika Schwartz

Retaining Formula
 
I need to create a formula in a cell that refers to data in cells in "Sheet1"
and "Sheet2". However, these two sheets will not exist when I save
the original worksheet with the formula in it. The sheets will be
variable and will be added later. How can I save the formula even
though the worksheets referenced aren't really there?
Erika S.

Quido

Retaining Formula
 
You can create the formula manually, for example:
=Sheet1!A1:C10
Excel may have some objections before saving the file but you can easily
cancel those warnings and proceed. The same applies to opening the file once
again. However, the cell will display a #REF! error message, naturally.
Hope this helps you

"Erika Schwartz" wrote in
om...
I need to create a formula in a cell that refers to data in cells in
"Sheet1"
and "Sheet2". However, these two sheets will not exist when I save
the original worksheet with the formula in it. The sheets will be
variable and will be added later. How can I save the formula even
though the worksheets referenced aren't really there?
Erika S.




All times are GMT +1. The time now is 03:33 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com