ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   refer to specific worksheet (https://www.excelbanter.com/excel-programming/367917-refer-specific-worksheet.html)

Dirk Nachbar

refer to specific worksheet
 
Dear all

I want to refer to a cell in a worksheet by writing down the worksheet
in A2. I tried =CONCATENATE("=",A2,"!A1") but it will write down the
formula =sheet2!A1
as a string and not evaluate it.

Dirk


Muhammed Rafeek M

refer to specific worksheet
 
hi
use INDIRECT function

"Dirk Nachbar" wrote:

Dear all

I want to refer to a cell in a worksheet by writing down the worksheet
in A2. I tried =CONCATENATE("=",A2,"!A1") but it will write down the
formula =sheet2!A1
as a string and not evaluate it.

Dirk



Joerg

refer to specific worksheet
 

"Dirk Nachbar" wrote in message
oups.com...
Dear all

I want to refer to a cell in a worksheet by writing down the worksheet
in A2. I tried =CONCATENATE("=",A2,"!A1") but it will write down the
formula =sheet2!A1
as a string and not evaluate it.

Dirk


Try =INDIRECT(A2&"!A1")

Cheers,

Joerg




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

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