+ Reply to Thread
Results 1 to 8 of 8

Identify Highest Numeric Value of Duplicate Names

  1. #1
    Registered User
    Join Date
    05-26-2022
    Location
    ILlinois
    MS-Off Ver
    2016
    Posts
    3

    Identify Highest Numeric Value of Duplicate Names

    Hi I am trying to find a formula to add in Column C which will identify the highest numeric values (in column B) of duplicate values (in column A). Any help with posting a formula would be greatly appreciated! ( I am not trying to dedupe, as I have additional columns that will need to be sorted based on the results) Are there any formulas that will do this? Thanks!
    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,783

    Re: Identify Highest Numeric Value of Duplicate Names

    Administrative Note:

    Welcome to the forum.

    Members will tailor the solutions they offer to the version (NOT release number) of Office (Excel, NOT Windows) that you have. Please check that your forum profile is up-to-date in this respect. If you aren't sure, in Excel go to File | Account and report what it says below the MS logo at the top of that page. If your version is for Mac, please also state this. Thanks.
    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,783

    Re: Identify Highest Numeric Value of Duplicate Names

    For recent versions of Excel;:

    =B2=MAXIFS($B$2:$B$8,$A$2:$A$8,A2)

    For older versions:

    =B2=MAX(IF($A$2:$A$8=A2,$B$2:$B$8))

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Attached Files Attached Files
    Last edited by AliGW; 05-26-2022 at 06:34 AM. Reason: Workbook attached.

  4. #4
    Registered User
    Join Date
    05-26-2022
    Location
    ILlinois
    MS-Off Ver
    2016
    Posts
    3

    Re: Identify Highest Numeric Value of Duplicate Names

    Version update and thank you. Does this return the highest value for duplicates in column A? I first pasted the formula and it identified the highest total value from column A (as opposed to returning the highest value when column A dupes are present).

    I then saw your note about arrays and followed the instructions and it returned #NAME? for all cells in column C (it showed an opening and closing curly bracket but I am sure I have a setting off or something)

  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,783

    Re: Identify Highest Numeric Value of Duplicate Names

    Can you please attach a workbook showing what you have tried? It will be easier to diagnose.

    2016 does not have MAXIFS.

    If you want to return the max number instead of true or false, use this:

    =MAX(IF($A$2:$A$8=A2,$B$2:$B$8))

    If this isn't what you want, then show in the workbook (manually) the results you want.

  6. #6
    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,783

    Re: Identify Highest Numeric Value of Duplicate Names

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    A
    B
    C
    D
    1
    name score
    TRUE/FALSE
    MAX AMOUNT
    2
    Spot
    5
    FALSE
    7
    3
    Dino
    4
    FALSE
    9
    4
    Dino
    9
    TRUE
    9
    5
    Fido
    6
    TRUE
    6
    6
    Spot
    2
    FALSE
    7
    7
    Spot
    7
    TRUE
    7
    8
    Fido
    2
    FALSE
    6
    Sheet: Sheet1

    AliGW on MS365 Beta Channel (Windows 11) 64 bit

    C
    D
    2
    =B2=MAX(IF($A$2:$A$8=A2,$B$2:$B$8))
    =MAX(IF($A$2:$A$8=A2,$B$2:$B$8))
    Sheet: Sheet1
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-26-2022
    Location
    ILlinois
    MS-Off Ver
    2016
    Posts
    3

    Re: Identify Highest Numeric Value of Duplicate Names

    I just noticed your attached file and it is exactly what I am looking for - thank you! (I'm not sure why it didn't work on mine but I can try to troubleshoot)

  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,783

    Re: Identify Highest Numeric Value of Duplicate Names

    It will be the way you were trying to enter the formula.

    Glad to have helped.

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon (* Add Reputation) located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.

+ 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] Identify Highest Scores
    By deromeo86 in forum Excel General
    Replies: 3
    Last Post: 11-28-2021, 04:59 AM
  2. Macro to identify duplicate values and display highest value
    By harishmz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-07-2021, 12:43 PM
  3. How to identify a name in groups with the highest revenue.
    By FrancisM2411 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-14-2018, 02:58 AM
  4. [SOLVED] Duplicate Names When Picking Out Highest Scorer
    By webstmonkey in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-02-2013, 09:51 PM
  5. Replies: 2
    Last Post: 12-27-2012, 04:36 PM
  6. Identify column value with highest count
    By net.master.bd in forum Excel General
    Replies: 2
    Last Post: 07-13-2012, 06:04 AM
  7. identify is the pattern which gives the highest % success
    By censura in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-04-2007, 03:31 PM

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