ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Cell to sheet reference (https://www.excelbanter.com/excel-worksheet-functions/8829-cell-sheet-reference.html)

Tom Stout

Cell to sheet reference
 
How do I use the value in a cell, for example the year 2004, to refer to a
worksheet with the name 2004?

Ron de Bruin

Hi Tom

See the help for the indirect function
with a sheet name in A1

=INDIRECT($A$1 & "!G3")


--
Regards Ron de Bruin
http://www.rondebruin.nl



"Tom Stout" <Tom wrote in message
...
How do I use the value in a cell, for example the year 2004, to refer to a
worksheet with the name 2004?





All times are GMT +1. The time now is 04:09 PM.

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