+ Reply to Thread
Results 1 to 8 of 8

Vlookup for a formula result

  1. #1
    Registered User
    Join Date
    12-20-2021
    Location
    Levittown, PA
    MS-Off Ver
    365
    Posts
    3

    Vlookup for a formula result

    I am not even sure if I have the right formula. I am trying to have a cell auto filled based on the value of a cell found with the Vlookup formula. On the attached sample, if the cell value in column D on the players sheet is = w next to the player listed in cell g5 on the bracket sheet, cell F7 should auto fill to the g5 value. If the value = L, the F7 cell should auto fill to the g9 value.
    My goal is when the result of each match is entered on the player list with a W or L, the correct player is auto filled on the bracket sheet.
    Attached Files Attached Files
    Last edited by JTemple; 12-21-2021 at 11:55 AM.

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Vlookup for a formula result

    Maybe this is what you want:

    =IF(VLOOKUP(G5,Players!B:C,2,FALSE)="w",G5,G9)
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  3. #3
    Registered User
    Join Date
    12-20-2021
    Location
    Levittown, PA
    MS-Off Ver
    365
    Posts
    3

    Re: Vlookup for a formula result

    Glenn,
    Thank you your response. This does not work but I erred in mentioning a factor. On the players list for the highlighted cell, it should look for the value in the appropriate round column. In this sample, the round 4 auto fill should be determined by the round 2 result (W or L) in the players sheet.

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,790

    Re: Vlookup for a formula result

    How about
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  5. #5
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: Vlookup for a formula result

    ???G5:

    =IF(INDEX(Players!C:M,MATCH(Bracket!H4,Players!B:B,0),MATCH(Bracket!H$2,Players!$C$1:$M$1,0))="w",H4,H6)

    If not, please remove the formulae and add some manually calculated results in SHADED cells so we can see where we are meant to be looking.
    Attached Files Attached Files

  6. #6
    Forum Expert
    Join Date
    02-10-2019
    Location
    Georgia, USA
    MS-Off Ver
    Office 365
    Posts
    3,229

    Re: Vlookup for a formula result

    In G5 you can use this formula:

    =IFERROR(FILTER(Players!$B$2:$B$17,(FILTER(Players!$C$2:$M$17,H$2=Players!$C$1:$M$1)="l")*((Players!$B$2:$B$17=H4)+(Players!$B$2:$B$17=H6))),"")

    This can be copied to all Round 2 entries (G9, G13, G17, etc.)

    For round 4 (cell F7) you can use this formula:
    =IFERROR(FILTER(Players!$B$2:$B$17,(FILTER(Players!$C$2:$M$17,G$2=Players!$C$1:$M$1)="w")*((Players!$B$2:$B$17=G5)+(Players!$B$2:$B$17=G9))),"")
    This can be copied to F15, F23, and F31. the same formula can also be copied to Round 6(cells E9, E17, E25, and E33)

    For Round 7 (D13), use:
    =IFERROR(FILTER(Players!$B$2:$B$17,(FILTER(Players!$C$2:$M$17,E$2=Players!$C$1:$M$1)="w")*((Players!$B$2:$B$17=E9)+(Players!$B$2:$B$17=E17))),"")
    copy to D29. This same formula can be copied to Round 9 (cells C17 and C33)

    Winner of the loser bracket formula:
    =IFERROR(FILTER(Players!$B$2:$B$17,(FILTER(Players!$C$2:$M$17,B$2=Players!$C$1:$M$1)="w")*((Players!$B$2:$B$17=B25)+(Players!$B$2:$B$17=B37))),"")

    See Attached
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    12-20-2021
    Location
    Levittown, PA
    MS-Off Ver
    365
    Posts
    3

    Re: Vlookup for a formula result

    Thank you. This appears to have solved my issue.

  8. #8
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,790

    Re: Vlookup for a formula result

    Not sure which post you are referring to, but glad to help & thanks for the feedback.

+ 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. Use vlookup result in a nested IF formula
    By SageAdvisor in forum Excel General
    Replies: 15
    Last Post: 03-18-2017, 12:20 PM
  2. Using VLOOKUP where the look up value is the result of a formula.
    By kingcrasher in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-30-2013, 02:40 PM
  3. If formula when using result from vlookup
    By lky2k23 in forum Excel General
    Replies: 18
    Last Post: 07-03-2012, 11:16 AM
  4. isblank & vlookup formula returns #n/a result and incorrect result
    By helpmeplease333 in forum Excel General
    Replies: 5
    Last Post: 05-06-2012, 11:41 PM
  5. Replies: 2
    Last Post: 12-09-2011, 05:26 AM
  6. If / Vlookup display result not formula
    By Chemistification in forum Excel General
    Replies: 12
    Last Post: 12-09-2009, 07:16 AM
  7. Vlookup formula for more than one result
    By DKerr in forum Excel General
    Replies: 7
    Last Post: 02-01-2007, 09:43 AM

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