+ Reply to Thread
Results 1 to 3 of 3

[Excel 2007] How do I have a sheet name and column reference be dynamic?

  1. #1
    Registered User
    Join Date
    07-08-2011
    Location
    Planet earth
    MS-Off Ver
    Excel 2007
    Posts
    2

    [Excel 2007] How do I have a sheet name and column reference be dynamic?

    Ok, so this sounds easy, but its not. I have a formula that basically has a hardcoded sheet as a reference, but then has a dynamic column/row reference (below). I want the hardcoded sheet to just be a dynamic refence, but i dont know how to do this. However, each time i need to change the sheet name, i have to go and change the hardcode. yes, i know i can do an 'Address' and add a few more columns, but i want to do it more simply.

    Example of what I have:

    Hardcoded sheet name with dynamic column/row.

    Sheet name = TO9
    Column = N
    Row 5

    ='TO9'!$N5

    Example of what i want:

    Dynamic sheet name with dynamic column/row

    Sheet name is in cell A9
    Column = N
    Row 5

    =A9!$N5

    unfortunalty, i cant find the proper syntax, if that is even possible

  2. #2
    Forum Guru
    Join Date
    05-24-2011
    Location
    India
    MS-Off Ver
    365
    Posts
    2,243

    Re: [Excel 2007] How do I have a sheet name and column reference be dynamic?

    Hello, Welcome to the forum!

    Use INDIRECT

    =INDIRECT("'"&$A$9&"'!N5")
    Regards,
    Haseeb Avarakkan

    __________________________________
    "Feedback is the breakfast of champions"

  3. #3
    Registered User
    Join Date
    07-08-2011
    Location
    Planet earth
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: [Excel 2007] How do I have a sheet name and column reference be dynamic?

    PRAISE ALLAH!!!!!

    thank you so much, senor

+ 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