+ Reply to Thread
Results 1 to 5 of 5

Use cell values as way to reference to cells on another sheet - easy as INDIRECT?

  1. #1
    Registered User
    Join Date
    12-21-2016
    Location
    Sweden
    MS-Off Ver
    v.15
    Posts
    4

    Use cell values as way to reference to cells on another sheet - easy as INDIRECT?

    Hi,

    I am not that used to working with the INDIRECT command, which i suspect might be the key here, so this might be easy solved.

    excel.jpg

    I have a column ”Nr” (A) that contains the names, or if you will the indexes, that has a corresponding sheet with the same name (i.e. there is sheet called ”10.0.1” with information in cell B8 i want to display on my main index page on the row that has 10.0.1 in the ”Nr” column). I want to use this number/index that is in column ”Nr” for each of the rows to reference for all the other columns to pull the information that is on the sheets to the main index page that is featured on the image above.

    I can't get it to work with the INDIRECT command as it seems to have a hard time understanding that the numbers it’s pulling from the A column should be treated as a reference to an other sheet in the same workbook.

    I have over 400 rows * 8 columns for each rows so all the help i can get to speed up this process is super valuable (don’t want to spend Christmas writing them all by hand, or do some kind of macro that is well above my level of knowhow) - thanks in advance!

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,621

    Re: Use cell values as way to reference to cells on another sheet - easy as INDIRECT?

    deleted 12/21
    Last edited by protonLeah; 12-21-2016 at 10:10 PM.
    Ben Van Johnson

  3. #3
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,791

    Re: Use cell values as way to reference to cells on another sheet - easy as INDIRECT?

    Try it like this:

    =IF(INDIRECT("'"&A404&"'!B8")="";"";INDIRECT("'"&A404&"'!B8"))

    You need to include the apostrophes around the sheet name. Also, you should check that you don't have any leading or trailing spaces in A404 or in the sheet name itself.

    Hope this helps.

    Pete

  4. #4
    Registered User
    Join Date
    12-21-2016
    Location
    Sweden
    MS-Off Ver
    v.15
    Posts
    4

    Re: Use cell values as way to reference to cells on another sheet - easy as INDIRECT?

    It seems like it’s working!

    Thanks a lot Pete_UK! I’m eternally grateful for the quick and helpful response!

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,348

    Re: Use cell values as way to reference to cells on another sheet - easy as INDIRECT?

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Syntax for using Indirect as the cell reference with a different sheet
    By Destroy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-16-2015, 04:19 PM
  2. Indirect Sheet reference with cell reference left function and text
    By teststrip in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-01-2015, 10:31 AM
  3. [SOLVED] =INDIRECT, Sheet reference with Incremental cell reference
    By Deap in forum Excel General
    Replies: 4
    Last Post: 06-16-2014, 05:58 AM
  4. Replies: 0
    Last Post: 06-05-2014, 10:45 AM
  5. Sum of indirect sheet names with multiple cells (SUM, INDIRECT,SHEETNAME in cell)
    By a1b2c3d4e5f6g7h8 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-12-2013, 08:42 AM
  6. Replies: 3
    Last Post: 08-13-2012, 11:44 AM
  7. Sheet cell reference and INDIRECT()
    By Lithium in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-09-2009, 11:04 AM

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