Closed Thread
Results 1 to 6 of 6

Thread: Retrieving a value from a reference grid according to index values

  1. #1
    Valued Forum Contributor
    Join Date
    12-07-2004
    Posts
    598

    Retrieving a value from a reference grid according to index values

    Problem:

    Range A1:D5 contains numbers, arrayed in a reference grid specified in row 1 (columns) and column A (rows).
    How could we find the value in Range A8:D10 matching each pair of index values (column and row) in Range A7:D5?

    Solution:
    Use the INDEX and MATCH functions, as follows:
    =INDEX($A$1:$D$5,MATCH(B8,$A$1:$A$5),MATCH(A8,$A$1:$D$1))

  2. #2
    Valerie
    Guest

    Index & Match

    I use this formula all the time and have created massive spreadsheets to utilize this formula that has cut my work time immensely. I can download text files from our acctg software to piece together reconciliations in spreadsheets for auditors. Don\'t know how I lived without it!

  3. #3
    Registered User
    Join Date
    06-07-2005
    Location
    Grapevine, TX
    Posts
    1

    Thumbs down Grids not Correctly Stated

    The directions state "How could we find the value in Range A8:D10 ...." There is no number in column D. Thus, shouldn't the directions state Range A8:C10?

    Then the direction look to match each pair of index values in Range A7:D5. Row 7 has no values, but contains column titles. Row 6 is blank. Row 5 has data, but what's the relationship? Column D is blank except for D5.

    Recommend the entire example be rewritten and that the tips be proofread before publishing.

  4. #4
    Forum Guru
    Join Date
    08-14-2003
    Location
    New Zealand
    Posts
    41

    Reply: Russ911

    Hi Russ911,

    Quote Originally Posted by Russ911
    The directions state "How could we find the value in Range A8:D10 ...." There is no number in column D. Thus, shouldn't the directions state Range A8:C10?

    Then the direction look to match each pair of index values in Range A7:D5. Row 7 has no values, but contains column titles. Row 6 is blank. Row 5 has data, but what's the relationship? Column D is blank except for D5.

    Recommend the entire example be rewritten and that the tips be proofread before publishing.
    You didn't mention if you have reported the post.

    If not, can I suggest you report it using the link in the post so that the webmaster can re-write it.

    Alan.

  5. #5
    Registered User
    Join Date
    01-16-2012
    Location
    uk
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: Retrieving a value from a reference grid according to index values

    the formula =INDEX($A$1:$D$5,MATCH(B8,$A$1:$A$5),MATCH(A8,$A$1:$D$1)) is not efficient as it slows down the calculation massively. Is there an alternative?

  6. #6
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,954

    Re: Retrieving a value from a reference grid according to index values

    Hi Kekc, welcome to the forum.

    This is not a question/answer thread, and is also 6.5 years old. Please create a new thread in the proper sub-forum (e.g. Worksheet Functions), and if necessary include a link pointing back to this thread.

    Thank you.

Closed Thread

Thread Information

Users Browsing this Thread

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

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.2.0