+ Reply to Thread
Results 1 to 19 of 19

Multiple indexing arrays?

Hybrid View

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

    Re: Multiple indexing arrays?

    Maybe this...

    =INDEX(IF(Y2=1,$AA$8:$AA$12,$AB$8:$AB$12),MATCH(Y8,$Y$8:$Y$12,0))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  2. #2
    Registered User
    Join Date
    10-02-2013
    Location
    Santa Rosa, CA, USA
    MS-Off Ver
    Excel 2010
    Posts
    44

    Re: Multiple indexing arrays?

    That works fine for y2=1. I added a coma and duplicated what you have for y2=2, but all I got were excel error messages. (I tried different combinations of "if"'s and "index"'s, to no avail.

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

    Re: Multiple indexing arrays?

    If there are only 2 options for Y2, Y2 = 1 or Y2 = 2, then don't make any changes to the formula.

    Another way to write it would be:

    =INDEX(CHOOSE(Y2,$AA$8:$AA$12,$AB$8:$AB$12),MATCH(Y8,$Y$8:$Y$12,0))

+ 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] Indexing multiple arrays
    By Kybynn in forum Excel General
    Replies: 6
    Last Post: 05-28-2012, 10:32 PM
  2. [SOLVED] Indexing problem using multiple arrays and conditions
    By Kybynn in forum Excel General
    Replies: 2
    Last Post: 04-23-2012, 04:19 AM
  3. [SOLVED] Matching and Indexing Multiple Columns
    By tim220225 in forum Excel General
    Replies: 10
    Last Post: 03-29-2012, 07:26 AM
  4. Indexing Multiple Tables
    By Haywire79 in forum Excel General
    Replies: 6
    Last Post: 08-13-2010, 02:12 AM
  5. Indexing and matching multiple criteria
    By Dbeethekidd in forum Excel General
    Replies: 8
    Last Post: 09-02-2009, 08:22 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