+ Reply to Thread
Results 1 to 6 of 6

Show value in one column from another worksheet based on match in another column

  1. #1
    Registered User
    Join Date
    01-18-2017
    Location
    Jacksonville, TX
    MS-Off Ver
    2013
    Posts
    3

    Show value in one column from another worksheet based on match in another column

    The title probably isn't the best, but let me explain.

    I have prepared an Excel workbook to help our 4-H Photography project coordinator tally scores for photos being judged. It shows the highest average score on each worksheet (one per photo category), and the cells containing the average scores update their fill colors depending the score to help them determine what color ribbon the participant will receive.

    So there are 15 worksheets for the categories and an extra worksheet for "Best In Show". (There are also two hidden worksheets at the beginning and end called "First" and "Last" to make it easier for 3D references).

    The "Best in Show" worksheet currently shows the highest total score from all worksheets along with the worksheet name where that score appears. What I would like to do is to also pull over the name of the student who that score belongs to so the 4-H coordinator doesn't have to go back and look it up on that worksheet.

    I am attaching my workbook (no macros), but each of the 15 categories are laid out the same:

    Row 1 contains headers

    A2:A21 - Student Names
    Column B is blank for spacing purposes
    C2:C21 - scores from Judge 1
    D2:D21 - scores from Judge 2
    E2:E21 - scores from Judge 3
    Column F is blank for spacing purposes
    G2:G21 - Average score (Column C+ Column D + Column E/3)

    So I need to match the high score in Column G with the corresponding Student Name in Column A and bring that over to the "Best in Show" worksheet.

    I just cannot seem to figure out how. Any and all help is greatly appreciated -- I'm self-taught in Excel and a lot of what I've accomplished is due to previous answers on this board.
    Attached Files Attached Files
    Last edited by txcleggy; 01-19-2017 at 09:01 PM. Reason: Edited again to upload workbook incorporating Glenn's corrections

  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 2403
    Posts
    44,064

    Re: Show value in one column from another worksheet based on match in another column

    Use this array formula instead:

    =INDEX(SheetList,MATCH(1,COUNTIF(INDIRECT("'"&SheetList&"'!G2:G21"),D2),0))

    Incidentally, Animals - wildlife is missing from your sheetlist - tracking that down took ages!!!!

    Incidentally, on each sheet, K7 can be simplified to: =MAX(G2:G21)

    and K6 to: =INDEX(A2:A21,MATCH(K5,G2:G21,0)) and it does not need to be entered as an array.
    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.

    Temporary addition of accented to illustrate ongoing problem to the TT: Lá fhéile Pádraig sona dhaoibh

  3. #3
    Registered User
    Join Date
    01-18-2017
    Location
    Jacksonville, TX
    MS-Off Ver
    2013
    Posts
    3

    Re: Show value in one column from another worksheet based on match in another column

    Hi, Glenn! Thank you so much for looking at this.

    Unfortunately, that array formula is only returning the Worksheet name, which I already have. I was trying to get the name of the student who had the highest score (this would be in Column A of the worksheet, corresponding with the same cell in Column G containing the score).

    I did fix the issue with the sheetlist and simplified the formulas for K6 and K7 -- thanks for catching those!

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

    Re: Show value in one column from another worksheet based on match in another column

    One way:

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


    array entered.
    Attached Files Attached Files

  5. #5
    Registered User
    Join Date
    01-18-2017
    Location
    Jacksonville, TX
    MS-Off Ver
    2013
    Posts
    3

    Re: Show value in one column from another worksheet based on match in another column

    Thank you so much! That does exactly what I need.

    You rock, sir.

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

    Re: Show value in one column from another worksheet based on match in another column

    Glad to have helped.

+ 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. [SOLVED] Worksheet Change help: do not show validation list (Column D) if column A is blank
    By skyping in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-01-2016, 10:16 AM
  2. [SOLVED] Dynamically match Column header text to sum column on another worksheet
    By swiftrain in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-20-2015, 04:50 PM
  3. Replies: 2
    Last Post: 04-30-2013, 08:09 AM
  4. Merge multiple worksheet to summary worksheet based on column header value match
    By rafiomeon in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 11-23-2012, 03:37 AM
  5. [SOLVED] Hide show column selected column based on value
    By ola7mat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-07-2012, 02:44 PM
  6. Replies: 4
    Last Post: 12-14-2009, 03:21 PM
  7. Replies: 2
    Last Post: 03-16-2009, 12:26 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