+ Reply to Thread
Results 1 to 4 of 4

Problems using INDIRECT formulae

  1. #1
    Registered User
    Join Date
    07-17-2010
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    5

    Problems using INDIRECT formulae

    Hello,


    I am trying to reference another spreadsheet, using INDEX but I want to change the specific sheet the formulae refers to depending on what the user selects.
    My sheet has a drop down list with all the sheet names, so the person inputs a persons name, and selects the sheet it comes from.
    The sheets names refer to the home they work in.
    So for sheet AL, this is what I get, which is perfect for my purpose. It simply returns the date they completed a training course.

    =INDEX('[Training Matrix East Region.xls]AL'!$A$49:$BF$110,MATCH(B14,'[Training Matrix East Region.xls]AL'!$A$49:$A$110,0),MATCH($H$9,'[Training Matrix East Region.xls]AL'!$A$49:$BF$49,0))

    Can someone advise if I can utilise INDIRECT to replace AL with the cell E14 where the sheet is being selected?
    I've tried INDIRECT just on AL'! but can't get that to work.
    I've also tried taking all parts of the formulae out into separate cells and using INDIRECT to rebuild it into a formulae but can't get it to work.

    Any guidance would be greatly appreciated.
    Thank you
    Phil Bruton

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Problems using INDIRECT formulae

    Try

    =INDEX(INDIRECT("'[Training Matrix East Region.xls]" &Sheet &"'!$A$49:$BF$110"),MATCH(B14,INDIRECT("'[Training Matrix East Region.xls]" &Sheet &"'!$A$49:$A$110"),0),MATCH($H$9,INDIRECT("'[Training Matrix East Region.xls]" &Sheet &"'!$A$49:$BF$49"),0))

    where Sheet (named range) is your tab i.e E14

  3. #3
    Registered User
    Join Date
    07-17-2010
    Location
    england
    MS-Off Ver
    Excel 2007
    Posts
    5

    Re: Problems using INDIRECT formulae

    Thanks, I've tried your suggestion and it doesn't work. Returns #REF!

  4. #4
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,206

    Re: Problems using INDIRECT formulae

    Worked OK for me. I even created your file "Training Matrix East Region.xls" to test it. This file needs to be OPEN as INDIRECT does not work with CLOSED files.

+ 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] Combining Formulae with INDIRECT and SUBSTITUTE
    By AliGW in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-22-2015, 11:05 AM
  2. [SOLVED] Formulae for golf syndicate problems x3 below, can anyone help?
    By Paul R Bentham in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-18-2013, 04:30 PM
  3. [SOLVED] Using INDIRECT with a dynamic range name as the array in an INDEX formulae = #REF
    By Gandalf21 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-12-2013, 09:27 AM
  4. [SOLVED] Using TEXT and INDIRECT formulae together
    By rpgieselman in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-03-2013, 01:30 PM
  5. Indirect formulae from Cell contents
    By freud1 in forum Excel General
    Replies: 3
    Last Post: 04-06-2011, 12:06 PM
  6. [SOLVED] Copying a formulae down a column that includes an INDIRECT
    By A.Webb in forum Excel General
    Replies: 10
    Last Post: 01-13-2006, 11:45 PM
  7. formulae problems:HELP
    By stevenmorrison in forum Excel General
    Replies: 8
    Last Post: 08-11-2005, 11:26 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