How do I reference a worksheet name through a formula?
If A1 contains the text: Sheet1
and you wanted to retrieve the value from Z99 in Sheet1, you could use this
formula:
=indirect("'" & a1 & "'!z99")
If you need to retrieve data from worksheet in a different workbook, be aware
that that "sending" workbook has to be open for =indirect() to work the way you
want.
pv6901 wrote:
I would like to reference a cell to obtain a worksheet name rather than have
the worksheet name in the formula. So rather than have Sheet1! in the formula
I would like to have a cell that contains the text "Sheet1"
--
Dave Peterson
|