+ Reply to Thread
Results 1 to 4 of 4

INDEX function array reference from another cell

  1. #1
    Registered User
    Join Date
    07-05-2016
    Location
    Berlin
    MS-Off Ver
    2016
    Posts
    2

    INDEX function array reference from another cell

    Hi, simple question:

    I have this working function:

    =INDEX((A1:C6, A8:C11), 2, 2, 2)

    Now, what I want to do is the following:

    I want the INDEX function to get the referenced arrays from another cell i.e.:

    this:
    =INDEX((A1:C6, A8:C11), 2, 2, 2)

    shall be contained in another cell, so that I can add more arrays later on without having to change the INDEX function itself.

    I tried:

    =INDEX((A12), 2, 2, 2)


    with (A1:C6, A8:C11) as content of A12.

    Any help appreciated

  2. #2
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: INDEX function array reference from another cell

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  3. #3
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: INDEX function array reference from another cell

    Sounds like you want to apply an INDIRECT expression, such as a12=a1:c6, a13=A8:C11, and your formula runs as:
    =INDEX((INDIRECT(A12), INDIRECT(A13)), 2, 2, 2)
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  4. #4
    Registered User
    Join Date
    07-05-2016
    Location
    Berlin
    MS-Off Ver
    2016
    Posts
    2

    Re: INDEX function array reference from another cell

    that did the trick, many thanks! : )

+ 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. Index Function to reference cell 2 columns and
    By Stressed_Daniel in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-04-2015, 04:30 AM
  2. Dynamic column reference in INDEX array function.
    By bmcmunn in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2015, 02:19 PM
  3. [SOLVED] Modify an IFERROR INDEX array function to LINK a cell to ROW reference
    By paulmacro in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 01-28-2015, 09:43 AM
  4. index function error using match function to get data from a cell in an array
    By mabildgaard in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-17-2013, 02:21 AM
  5. Replies: 2
    Last Post: 03-20-2009, 01:29 PM
  6. [SOLVED] Now With Index -- IF Function Does Not Work With Cell Reference
    By Gary in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-25-2006, 09:20 PM
  7. Cell reference from previous index function
    By xadnora in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-14-2005, 05:06 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