+ Reply to Thread
Results 1 to 3 of 3

Lookup with two criteria

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253

    Lookup with two criteria

    Needing a formula for cell E7 in a sheet called Game, that will lookup & return data for the criteria in E6 & C7. For example:

    In sheet called Game, where E6 shows the phrase "1ST" &
    C7 shows the name "Kayla"

    The lookup range is in a sheet called Lineup in range G4:ET17
    Row 3 contains headings 1st, 2nd, 3rd, etc starting in column G &
    Column D contains the names starting in row 4.

    Therefore, if cell LineUp!G3 contains the phrase "1ST" &
    cell LineUp!D9 contains the name "Kayla" then

    cell Game!E7 should return the value in Game!G9 of CF

    ....A.....B.....C.....D.....F.....G......H.......I
    1
    2
    3...................................1st....2nd....3rd
    4...................Amber........RF......CF
    5...................Ashley.......Hm......Bn
    6...................Brooke.......Bn.......Pt
    7...................Destin........Pt.......LF
    8...................Hanna........Lf.......RF
    9...................Kaya..........CF......Hm

    Thanks a million. mikeburg

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Try

    =INDEX(LineUp!$D$3:$ET$17,MATCH(Game!C7,LineUp!$D$3:$D$17,0),MATCH(Game!E6,LineUp!$D$3:$ET$3,0))
    Last edited by NBVC; 03-30-2007 at 04:00 PM.
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Contributor
    Join Date
    06-23-2005
    Posts
    253
    Wonderful! I tried my own version of index & match & couldn't it to work. But this works greats!

    Thanks a lot. mikeburg

+ Reply to 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.6.0 RC 1