ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Indirect formula not working if I give custom name for Sheets (https://www.excelbanter.com/excel-discussion-misc-queries/219336-re-indirect-formula-not-working-if-i-give-custom-name-sheets.html)

Elkar

Indirect formula not working if I give custom name for Sheets
 
Try taking out the leading apostrophe.

=INDIRECT(ROW()&"!A6")

You only need to enclose the sheet name in apostrophes when there is a space
in the name. And if you do, you would also need to include a second
apostrophe at the end of the sheet name. Like this:

=INDIRECT( " ' " & ROW() & " ' !A6")

I included added spaces above for emphasis, but they should not be used.

HTH
Elkar


"Narnimar" wrote:

My sheets names are 1, 2, 3,... 100. I am trying to make a "summery" sheet in
the same work book from cells a6 to j6 from 1 to more than 100 numeric named
sheets.The formula =INDIRECT("Sheet" & (ROW()) & "!A6") is working fine if
the sheet names are from system default Sheet1, sheet2 sheet3 etc.

Now I modified the formula into =INDIRECT("'" & (ROW()) & "!A6") but it
returns #REF!. I dont know what is the mistake I am doing! Can any one solve
this problem?



All times are GMT +1. The time now is 11:05 AM.

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