View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Dave Peterson Dave Peterson is offline
external usenet poster
 
Posts: 35,218
Default keep cell reference

Watch your double quotes:

=indirect("test1!f20")



geebee wrote:

it is not working. nothing is happening. i even tried =INDIRECT(TEST1!F20)
and i get a #REF! error.

"Jim Thomlinson" wrote:

This formula should work for you...
=IF(ISERROR(INDIRECT("Sheet1!A1")), "No Sheet1", INDIRECT("Sheet1!A1"))
--
HTH...

Jim Thomlinson


"geebee" wrote:

hi,

i have a cell in sheet_new with a formula in cell A1:

= sheet1!C2

i would like to know how the cell A1 can keep this formula even if sheet1 is
deleted, because it may be possible to delete the sheet1 and later add it
back, so when it is added back, i want the formula remembered/restored.

thanks in advance,
geebee



--

Dave Peterson