Sheet name in formula

S

SMullins

This is a formula I us daily

(example)
='V:\Production Reporting Summaries\Tammy\April 05\[Production
Summary.xls]4_04'!$B$4

each day I have to make a copy the previous days worksheet and then go into
multiply cells and change 4_04 to the next day, which would be 4_05.

I want to be able to enter 4_05 into one cell and have it update 4_04
automatically so I am not manually changing the formula daily.
 
R

Ron Coderre

Is there a reason you can't use Excel's Search/Replace?

Edit>Replace
Find what: 4_04
Replace with: 4_05

That should replace every instance of 4_04 in your worksheet with 4_05.

Does that help?

Regards,
Ron
 
S

SMullins

This would change soom parts of a formula in the sheet that I do not want
changed.
 
L

LanceB

Look at indirect
example

in a1 the text
'Sheet2!
=INDIRECT(A1&"c2")
will refererence c2 on sheet 2
=INDIRECT(A1&"d9")
will refererence d9 on sheet 2

Then all that has to change is the one reference in a1
 
Top