+ Reply to Thread
Results 1 to 6 of 6

Formula for grid lookup

  1. #1
    Registered User
    Join Date
    11-21-2016
    Location
    Leeds
    MS-Off Ver
    2016
    Posts
    6

    Formula for grid lookup

    Hi all, I'm wondering what's best for a grid reference-style lookup?

    I want to enter a letter in one cell and a number in another cell in order to lookup a grid (table) and produce the value from the corresponding grid reference.

    Example:
    There's a table (A1:K11), with down-range (A2:A11) with numbers 1 to 10, and across-range (B1:K1) with letters A to J

    I want to have two cells with drop-down validation lists (A15 has validation A1:K11, and B15 has validation B1:K1).

    So, if I select "7" in the drop down for A15 and "E" in the drop down for A16 then I want A17 to produce the value in the grid reference "7E" (the value in Cell F8)

    What's the best formula for Cell A17 to do a cross reference on the grid (table) with inputs from A15 and A16?

  2. #2
    Forum Expert BadlySpelledBuoy's Avatar
    Join Date
    06-14-2013
    Location
    East Sussex, UK
    MS-Off Ver
    365
    Posts
    7,468

    Re: Formula for grid lookup

    Assuming the 7 is selected in cell M3 and the E is selected in cell M4, the below formula will work for you.
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    See attached.

    BSB
    Attached Files Attached Files

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,632

    Re: Formula for grid lookup

    in a17:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Best Regards,

    Kaper

  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: Formula for grid lookup

    Here's one way...

    =VLOOKUP(A15,A1:K11,MATCH(A16,A1:K1,0),0)
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  5. #5
    Registered User
    Join Date
    11-21-2016
    Location
    Leeds
    MS-Off Ver
    2016
    Posts
    6

    Re: Formula for grid lookup

    Brill stuff. The first one worked a treat. Many thanks.

  6. #6
    Forum Expert Logit's Avatar
    Join Date
    12-23-2012
    Location
    North Carolina
    MS-Off Ver
    Excel 2019 Professional Plus - 2007 Enterprise
    Posts
    7,015

    Re: Formula for grid lookup

    Help me understand .... why is the formula giving an answer one column and one cell "off" from the indicated coordinates ?

    Also, how do you obtain the number listed in 7E, rather than F8 ?

+ 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: 1
    Last Post: 10-29-2013, 02:11 AM
  2. Excel Lookup in Grid
    By richard.dawson in forum Excel General
    Replies: 3
    Last Post: 01-11-2013, 07:54 AM
  3. Using Index and Match to lookup a value in a grid
    By jcranst in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 11-05-2012, 01:01 PM
  4. Price Grid [index/lookup/match]
    By casey63 in forum Excel General
    Replies: 5
    Last Post: 04-01-2012, 05:26 PM
  5. Price grid (index/lookup/match)
    By casey63 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-01-2012, 05:23 PM
  6. Price Grid [Index/Lookup/Match]
    By jaredg in forum Excel General
    Replies: 8
    Last Post: 01-25-2012, 01:27 PM
  7. Replies: 2
    Last Post: 12-15-2011, 04:14 AM
  8. Pivot Table Lookup Grid
    By MIVELD in forum Excel General
    Replies: 1
    Last Post: 09-13-2005, 01:05 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