+ Reply to Thread
Results 1 to 7 of 7

highlight max value in column b for each value in column a

  1. #1
    Registered User
    Join Date
    08-09-2020
    Location
    jerusalm, israel
    MS-Off Ver
    2019
    Posts
    9

    highlight max value in column b for each value in column a

    Hi everyone.

    i just want a simple thing.
    i have in column A several values that repeat them selves.
    in column b i have dates for each row. every value in column a have several dates.
    i want to highlight the last date of every value.
    i attached a file with an example.

    i wish someone could help me.
    thanks a lot,
    kobi.
    Attached Files Attached Files
    Last edited by amsikoby; 08-09-2020 at 09:30 AM.

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

    Re: highlight max value in column b for each value in column a

    Hi & welcome to the board.
    Select B2 down to the last row & in conditional formatting, New rule, use a formula & use
    =B2=MAXIFS(B:B,A:A,A2)

  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
    79,412

    Re: highlight max value in column b for each value in column a

    Welcome to the forum.

    Set up a conditional formatting rule for B2:

    =AND(A2<>"",SUMPRODUCT(($A$2:$A$5000=A2)*(B2=MAXIFS($B$2:$B$5000,$A$2:$A$5000,A2)))>0)

    Apply to: =$B$2:$B$5000
    Attached Files Attached Files
    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.

  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
    79,412

    Re: highlight max value in column b for each value in column a

    Fluff's suggestion is slicker!

  5. #5
    Registered User
    Join Date
    08-09-2020
    Location
    jerusalm, israel
    MS-Off Ver
    2019
    Posts
    9

    Re: highlight max value in column b for each value in column a

    You are awsome geniuses. solved!!!
    Found my self great place to get help with exel.
    Its going to help me with a lot of files.

    Fluff13 and aliGW
    Thanks million times.

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

    Re: highlight max value in column b for each value in column a

    Glad we could help & thanks for thee feedback.

  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
    79,412

    Re: highlight max value in column b for each value in column a

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

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon 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 those who 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] Highlight duplicate rows excluding column and vice versa another column
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 09-07-2016, 02:22 PM
  2. Conditional Format: Highlight cells in Column C that refer to Column B
    By agf12555 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 08-26-2015, 05:16 PM
  3. HELP! Compare cells of a column to same column in different workbook and highlight diffs
    By bradleyherron in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-05-2014, 10:18 AM
  4. Replies: 5
    Last Post: 09-24-2012, 05:14 PM
  5. Replies: 23
    Last Post: 09-25-2009, 07:39 PM
  6. Replies: 1
    Last Post: 09-19-2009, 08:09 PM
  7. Replies: 3
    Last Post: 08-07-2009, 12:03 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