+ Reply to Thread
Results 1 to 4 of 4

Finding multiple max values that are dependent on a value of another column

  1. #1
    Registered User
    Join Date
    11-13-2016
    Location
    NY
    MS-Off Ver
    2016
    Posts
    11

    Finding multiple max values that are dependent on a value of another column

    How can I find the maximum values on column B that correspond to unique IDs on column A? I can't use a pivot table as there are way too many IDs. For example:

    Column A --------- Column B ------- Column C
    11452 --------------- 1 ---------------- 5
    11452 --------------- 2 ---------------- 5
    11452 --------------- 5 ---------------- 5
    11452 --------------- 4 ---------------- 5
    534 ------------------- 2 ---------------- 9
    534 ------------------- 2 ---------------- 9
    534 ------------------- 5 ---------------- 9
    534 ------------------- 9 ---------------- 9
    99843 ---------------- 1 ---------------- 3
    99843 ---------------- 2 ---------------- 3
    99843 ---------------- 3 ---------------- 3

    The ideal formula would be one that gave me column C. I've tried using MAX(IF but there are way too many IDs. Is there any formula that I can just drag down?

    A non VBA solution would be highly appreciated.
    Thanks
    Last edited by dennis.pak; 11-13-2016 at 04:24 AM.

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

    Re: Finding multiple max values that are dependent on a value of another column

    Try this copied down:

    =MAXIFS($B$1:$B$11,$A$1:$A$11,A1)
    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
    Registered User
    Join Date
    11-13-2016
    Location
    NY
    MS-Off Ver
    2016
    Posts
    11

    Re: Finding multiple max values that are dependent on a value of another column

    You are a genius. I wasted 3-4 hours trying to find a formula that worked. Thank you!

  4. #4
    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,848

    Re: Finding multiple max values that are dependent on a value of another column

    You're welcome!

+ 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] values in ActiveX combo boxes dependent on multiple criterias
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-11-2016, 11:18 AM
  2. multiple values dependent on their own sum (circular reference)
    By Philipp O. in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 12-16-2015, 03:50 PM
  3. Replies: 4
    Last Post: 11-19-2014, 10:13 PM
  4. Multiple Column Dynamic Dependent List
    By wsublet86 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2014, 03:25 PM
  5. Replies: 0
    Last Post: 10-28-2013, 02:55 PM
  6. Replies: 1
    Last Post: 07-29-2013, 07:35 PM
  7. [SOLVED] Finding (Multiple) Highest Values in Column
    By Shay Hurley in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-03-2005, 12:05 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