+ Reply to Thread
Results 1 to 2 of 2

Joining 2 "VLOOKUP" Formulas to get a single result?

  1. #1
    Registered User
    Join Date
    06-29-2011
    Location
    WEST PALM BEACH, FLORIDA
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    1

    Joining 2 "VLOOKUP" Formulas to get a single result?

    Hello, I'm trying to see if there is a way to get Formula to look up 2 (Vlookup formulas to get 1 result)? Then in part 2, I'm trying to get a Team Points and Opponents Points total. When I try to do a "SUM" in cell AF4, =SUM(T4,V4,X4,Z4,AB4,AD4) and also in cell AG4, =SUM(U4,W4,Y4,Z4,AA4,AC4) It would give me a #Value! or a "0" error.

    Example: I have a Tournament of 20 teams, and each Team plays each other and I have the layout like this.......
    "Team A" (B4) "Team A" Score (C4) "Team B" (D4) "Team B" Score (E4)
    "Team C" (B5) "Team C" Score (C5) "Team D" (D5) "Team D" Score (E5)
    "Team E" (B6) "Team E" Score (C6) "Team F" (D6) "Team F" Score (E6) etc.

    The result that I want to find is... when the Score is put in the (C4) or (E4) for the First game, I want another section like (I4)&(K4) & (N4)&(P4) to display Team Results for (Points For & Points Against). I have a file I can send you to clear up any confusion that I'm asking.

    Thanks for your help,
    John
    Attached Files Attached Files

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

    Re: Joining 2 "VLOOKUP" Formulas to get a single result?

    Try these:

    In I4:

    =IF(ISNUMBER(MATCH(H4,$B$4:$B$13,0)),VLOOKUP(H4,$B$4:$C$13,2,0),"")

    copied down

    In K4:

    =IF(ISNUMBER(MATCH(J4,$B$4:$B$13,0)),VLOOKUP(J4,$B$4:$C$13,2,0),"")

    similaryly in N4:

    =IF(ISNUMBER(MATCH(M4,$D$4:$D$13,0)),VLOOKUP(M4,$D$4:$E$13,2,0),"")

    and in P4:

    =IF(ISNUMBER(MATCH(O4,$D$4:$D$13,0)),VLOOKUP(O4,$D$4:$E$13,2,0),"")

    do similar for other games.

    In T4:

    =IF(ISNUMBER(MATCH(S4,$B$4:$B$13,0)),VLOOKUP(S4,$B$4:$C$13,2,0),"")

    copied down.

    In U4:

    =IF(ISNUMBER(MATCH(S4,$D$4:$D$13,0)),VLOOKUP(S4,$D$4:$E$13,2,0),"")

    copied down

    Do similar for other games.

    Then in AF4:

    =SUMIF($T$3:$AE$3,AF$2&"*",$T4:$AE4)

    copied to next column and down the rows.
    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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