+ Reply to Thread
Results 1 to 6 of 6

Index Function array across multiple sheets using named ranges

  1. #1
    Registered User
    Join Date
    10-22-2013
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    3

    Index Function array across multiple sheets using named ranges

    Is there a way to do an Index Function array across multiple sheets using named ranges (all names the same on each sheet, but scoped to that sheet)? For example, something like
    ={INDEX('Sheet1:Sheet30'!rngTable,MATCH(A2,'Sheet1:Sheet30'!rngRow,0),MATCH(B1,'Sheet1:Sheet30'!rngColumn,0))} with A2 being the row value and B1 being the column value you want to return from the index on each sheet (rngTable is the table array, rngRow is the row of that table, and rngColumn is the column of that table for each sheet). I can repeat the equation 30 times for each sheet to get the same result, but that's kind of a pain and a nasty long formula. The above doesn't work, so was wondering if there is an alternative solution that actually does work. Thanks!

  2. #2
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index Function array across multiple sheets using named ranges

    No, you can't use INDEX across sheets like that.

    Does this mean that the lookup value will only be on one of the sheets?
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  3. #3
    Registered User
    Join Date
    10-22-2013
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Index Function array across multiple sheets using named ranges

    Thanks for the quick reply!

    The lookup value is actually on every sheet (i.e. so I wouldn't have to use an IFERROR to remove #Value errors). The data is located on different locations of each sheet, hence the use of names instead of a direct cell reference.

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index Function array across multiple sheets using named ranges

    About the only thing you can do is write a separate formula for each sheet.

  5. #5
    Registered User
    Join Date
    10-22-2013
    Location
    Utah
    MS-Off Ver
    Excel 2007
    Posts
    3

    Re: Index Function array across multiple sheets using named ranges

    Okay thanks.

  6. #6
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Index Function array across multiple sheets using named ranges

    You're welcome.

    Good luck!

+ 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. An array equation with named ranges using multiple criteria...help!
    By sabrinam in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2013, 12:15 PM
  2. Array formula with multiple named ranges
    By sabrinam in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-14-2013, 11:36 AM
  3. LOOKUP Array & Index Function (Search data across multiple sheets)
    By dizzle in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2013, 09:26 AM
  4. Named ranges for table array, and Column index number?
    By phefray in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-16-2012, 06:43 PM
  5. Index Function with Named/Defined Ranges
    By cosco in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-27-2010, 03:12 PM

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