+ Reply to Thread
Results 1 to 4 of 4

Indirect doesn't work when sheetname have spaces

  1. #1
    Registered User
    Join Date
    05-02-2006
    Posts
    95

    Indirect doesn't work when sheetname have spaces

    Hello Experts,
    What's the workaround so that the sheet names listed within column A could have spaces? This formula only works without any spaces in the name
    =INDIRECT(A1&"!e30")

    where A1 is Sheet1. but if change A1 to Sheet 1 and rename the sheet also, then it's a #REF! error.

    Thanks in advance,
    Ricky

  2. #2
    Forum Expert mrice's Avatar
    Join Date
    06-22-2004
    Location
    Surrey, England
    MS-Off Ver
    Excel 2013
    Posts
    4,967
    Try something like

    =INDIRECT("'Sheet 1'!A18",TRUE)
    Martin

  3. #3
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,702
    =indirect("'"&a1&"'!e30")

  4. #4
    Registered User
    Join Date
    05-02-2006
    Posts
    95
    Quote Originally Posted by daddylonglegs
    =indirect("'"&a1&"'!e30")
    Thank-you Daddylonglegs and MRice,
    Both worked nicely. I chose DLL's suggestion for the reference of cells within column A.

    Thanks again,
    Ricky

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1