+ Reply to Thread
Results 1 to 6 of 6

lookup the intersection of a single column value and a column defined by 2 values

  1. #1
    Registered User
    Join Date
    04-23-2013
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    81

    lookup the intersection of a single column value and a column defined by 2 values

    I need to lookup the intersection of a single row value and a column defined by the intersection of 2 values. I wish I could say that I gave this a good attempt but I am empty handed.

    In the below example:
    Lookup a runner's time based on jersey color and week number
    The weeks may appear in any order

    Complex Lookup.JPG

  2. #2
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: lookup the intersection of a single column value and a column defined by 2 values

    Are the jersey colors unique across their row? What about week numbers? If so (for either) just do an INDEX(MATCH,MATCH).

    If not, more error handling is necessary -- for example, what happens if Ann runs twice in Week 05, but happened to be wearing the same jersey both times?
    Click the [* Add Reputation] Button to thank people for help!
    Post Attachment: Click [Go Advanced] under the reply box; then click [Manage Attachments] to launch the attachments dialogue.
    Mark Thread Solved: Go to the top of the first post; Select [Thread Tools] dropdown; Pick the [Mark thread as Solved] option.

  3. #3
    Registered User
    Join Date
    04-23-2013
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    81

    Re: lookup the intersection of a single column value and a column defined by 2 values

    Weeks are unique but jersey colors will repeat. I made an error in the above example by showing the same week twice.

  4. #4
    Forum Expert ben_hensel's Avatar
    Join Date
    01-26-2012
    Location
    Northeast USA
    MS-Off Ver
    Office 365
    Posts
    2,043

    Re: lookup the intersection of a single column value and a column defined by 2 values

    Yeah that's a simple 2D lookup.

    Try this in B11:
    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    04-23-2013
    Location
    Washington DC
    MS-Off Ver
    Excel 2007
    Posts
    81

    Re: lookup the intersection of a single column value and a column defined by 2 values

    Very good. Thank you for that.

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    81,288

    Re: lookup the intersection of a single column value and a column defined by 2 values

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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: 11-03-2016, 03:24 PM
  2. Return Reference of single column from defined range in VBA
    By DH123 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-18-2015, 04:18 AM
  3. Replies: 2
    Last Post: 01-07-2015, 09:06 AM
  4. Replies: 3
    Last Post: 04-08-2014, 03:11 AM
  5. Replies: 0
    Last Post: 01-15-2013, 08:07 AM
  6. Replies: 3
    Last Post: 03-08-2012, 03:32 PM
  7. [SOLVED] LOOKUP FORMULA INTERSECTION OF A COLUMN AND (TWO) VALUES IN A ROW
    By SID in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-10-2006, 05:40 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