+ Reply to Thread
Results 1 to 16 of 16

Return Persons Name from Highest Value in other column

  1. #1
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Return Persons Name from Highest Value in other column

    Morning,

    I have a list of questions and people have ranked themselves 0 - 4. I would like to create a summary whereby I have the question and report the highest value and then the persons name so in the end I would know who was the best skilled for each area. If two people (or more) rank themselves 4 I would like to report all of their names.

    I've attached a sample of what I'm trying to achieve...

    Thank you!
    Attached Files Attached Files

  2. #2
    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
    80,430

    Re: Return Persons Name from Highest Value in other column

    Are you happy for a slightly different layout? If so I can provide a solution.

    Please be aware, if you are asking your staff to rank themselves in this way, that there will be a gender bias within a representative sample group of people: men are far more likely to award themselves the highest ranking, whereas women who are in fact just as skilled will not be so likely to do so, more often choosing the second highest ranking.
    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.

  3. #3
    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
    80,430

    Re: Return Persons Name from Highest Value in other column

    Here's my suggestion:

    Excel 2016 (Windows) 32 bit
    A
    B
    C
    D
    E
    F
    G
    H
    I
    J
    K
    16
    Question 1 Question 2 Question 3 Question 4 Question 5 Question 6 Question 7 Question 8 Question 9 Question 10
    17
    Max Value
    4
    4
    3
    18
    Person 3 Person 4 Person 2
    19
    Person 4
    20
    Sheet: Sheet1

    Excel 2016 (Windows) 32 bit
    B
    18
    =IFERROR(INDEX($A:$A,SMALL(IF(B$2:B$5=B$17,ROW($A$2:$A$5)),ROWS($A$1:A1))),"")
    Sheet: Sheet1

    ... confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer. Once confirmed, copy across and down.

  4. #4
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Return Persons Name from Highest Value in other column

    I should be alright on the gender bias since the women outnumber the men 4:1

    The data comes from a Google Sheet so it would be tricky to lay it out in the way you suggest...

  5. #5
    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
    80,430

    Re: Return Persons Name from Highest Value in other column

    Why would it be tricky to lay it out this way? Google Sheets are spreadsheets just like Excel spreadsheets - you can lay them out as you choose.

    It doesn't matter how many women there are: it is a proven fact that men will be far more confident in their abilities, so you will still get more men ranking themselves top. I'm just saying this because I think your system, based on their own assessment of their ability, is probably flawed.

    One more thing - there is a separate section for platforms other than Excel, so I'm moving this thread to it. If you are using something else, you should always state this in your opening post, however, I can't see in this instance how it would make a difference other than the way that the array formula might need entering. That I can't help you with as I do not use Google Docs.
    Last edited by AliGW; 07-06-2018 at 03:49 AM.

  6. #6
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Return Persons Name from Highest Value in other column

    I have already collected the data and have it now in a Workbook in Excel, so would you mind moving it back please?

  7. #7
    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
    80,430

    Re: Return Persons Name from Highest Value in other column

    Hang on a minute - you said this:

    The data comes from a Google Sheet so it would be tricky to lay it out in the way you suggest...
    But you are now saying that you are working in Excel. So why would it be tricky? I'll move it back, but I would like to understand what you mean by this.

    The table I have created is not a replacement for your data - it's the solution and appears below your data.

  8. #8
    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
    80,430

    Re: Return Persons Name from Highest Value in other column

    See the sample file attached, which shows you what I've done.
    Attached Files Attached Files

  9. #9
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Return Persons Name from Highest Value in other column

    Oh, I'm sorry. I misunderstood, I thought you were talking about changing the layout of the raw data. Could you tell me, is it possible to get Person 2 & Person 4 in one cell? (Question 3).

  10. #10
    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
    80,430

    Re: Return Persons Name from Highest Value in other column

    Does it really need to be in one cell? What's wrong with a list of people?

    I'm afraid I don't have the answer - maybe someone else can help.

  11. #11
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Return Persons Name from Highest Value in other column

    What I wanted to return eventually was a list of questions, the highest skill level and that person(s) name. This was to summarise our skills audits for Governors so I could print it off and present at Governors each term...

  12. #12
    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
    80,430

    Re: Return Persons Name from Highest Value in other column

    Sorry, but isn't that what I've given you? I really don't understand the need for multiple results to be in the same cell. I don't think the governors at my school, all being high-fliers in their respective fields, would have any trouble in understanding the data as it is presented in my solution. Is this a case of form over function, I wonder?

    I still question whether your assessment of your staff is really empirical: is this being presented as fact (i.e. these four members of staff are capable of doing x), or are you presenting the data with the caveat that this is based on self-assessment?

    Sorry - I know, dog with a bone ...

  13. #13
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Return Persons Name from Highest Value in other column

    This is what I was trying to achieve...

    https://snag.gy/MbXTQO.jpg

    I don't mind a good debate

  14. #14
    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
    80,430

    Re: Return Persons Name from Highest Value in other column

    OK - this makes more sense. You can use CONCATENATE to bring the results in my output table together in your final document, or you can tweak and use my solution in your final output, but create it such that the output box spans several rows, or just wait for someone else to come up with a solution that does it in one go. As for me, well I'm on summer holiday already and a sunny garden is beckoning.

  15. #15
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Return Persons Name from Highest Value in other column

    Thanks! We've got a fortnight left yet so just trying to get things wrapped up and sorted out

  16. #16
    Forum Contributor
    Join Date
    10-14-2011
    Location
    London, England
    MS-Off Ver
    O365
    Posts
    180

    Re: Return Persons Name from Highest Value in other column

    I'll use your formula and a custom function that I've written...

    Please Login or Register  to view this content.

+ 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] Return row value for highest number in column
    By KimMorgan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-20-2017, 10:54 AM
  2. Replies: 8
    Last Post: 03-23-2017, 02:59 PM
  3. Replies: 3
    Last Post: 06-09-2016, 12:51 PM
  4. [SOLVED] Max formula to return total of highest, second highest and third highest value
    By JonWilf in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-06-2016, 08:20 AM
  5. Replies: 5
    Last Post: 06-13-2014, 02:07 AM
  6. Return the Title of a column if the column is the highest column with data
    By williamspage in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 08-22-2013, 10:05 AM
  7. Return highest value, except from one cell i same column
    By Hjahren in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-26-2010, 09:54 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