+ Reply to Thread
Results 1 to 4 of 4

Lookup values in an array

  1. #1
    Registered User
    Join Date
    08-18-2011
    Location
    East Sussex, England
    MS-Off Ver
    Excel 2007
    Posts
    76

    Lookup values in an array

    I am sure there is a way to do this but my brain is slowly melting.

    I have attached an example of what i would like to do.

    I need to be able to select a year and then have Excel look across the array, find the correct column and then look up the nearest value to the mark and then return a grade.

    I am sure there is a combination of INDEX and MATCH functions that would do it but as I say.... brain dying.

    Please help.
    Attached Files Attached Files

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,887

    Re: Lookup values in an array

    Something like below.

    =INDEX(G2:G8,MATCH(B14,INDEX(A2:F8,,MATCH(B13,A1:F1,0)),0))

  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: Lookup values in an array

    Try this...

    =INDEX(G2:G8,MATCH(B14,INDEX(A2:F8,,MATCH(B13,A1:F1,0))))
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Forum Contributor
    Join Date
    12-16-2016
    Location
    Colorado, US
    MS-Off Ver
    2013
    Posts
    115

    Re: Lookup values in an array

    When using an Array be sure to use the ctrl+Shift+enter to activate the array. If just using enter the array will sometimes return n/a

+ 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. Replies: 4
    Last Post: 05-19-2015, 08:42 PM
  2. lookup array of values using wildcards
    By skalaima in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-10-2013, 03:01 AM
  3. Replies: 19
    Last Post: 05-09-2012, 03:31 AM
  4. Replies: 3
    Last Post: 11-02-2011, 07:51 AM
  5. Array Lookup, Return/Sum Multiple Values
    By mre2000 in forum Excel General
    Replies: 3
    Last Post: 01-18-2010, 10:45 PM
  6. Lookup - Not all values in Array
    By barnowl in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-28-2007, 01:23 AM
  7. array as lookup values
    By tweety127 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-30-2007, 03:57 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