+ Reply to Thread
Results 1 to 4 of 4

Find Maximum date for Unique Values

  1. #1
    Forum Contributor
    Join Date
    11-17-2009
    Location
    Kuwait
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    114

    Find Maximum date for Unique Values

    Dear`s
    The Attached excel file contain 3 column (A = Serial) , (B = Date) , (C = Maximum) , I need to write a formula in C2 to mark one row by "Y" for each unique serial and it has the maximum date.

    BR
    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 (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,381

    Re: Find Maximum date for Unique Values

    In C2:

    =IF(AND(A2=A1,B2=B1),"",IF(MAX(IF($A$2:$A$14=A2,$B$2:$B$14))=B2,"Y",""))

    ... 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, drag copy down.
    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. It's a universal courtesy.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    NB:
    as a Moderator, I never accept friendship requests.
    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Contributor
    Join Date
    11-17-2009
    Location
    Kuwait
    MS-Off Ver
    Microsoft Excel for Microsoft 365
    Posts
    114

    Re: Find Maximum date for Unique Values

    Perfect, this is exactly what I need.

    You are the one,

    BR
    Last edited by AliGW; 04-01-2018 at 12:13 PM. Reason: Unnecessary quotation removed.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (both in England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2503 (Windows 11 Home 24H2 64-bit)
    Posts
    90,381

    Re: Find Maximum date for Unique Values

    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] Find second date maximum value
    By Berna11 in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 11-29-2017, 08:05 AM
  2. find out the maximum date from all true values
    By jsalotra in forum Excel General
    Replies: 4
    Last Post: 05-23-2017, 12:22 PM
  3. Find count of unique values with multiple criteria inlcuding date ranges
    By jdooley in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 07-21-2016, 01:05 PM
  4. to compare among a set of values and to find the maximum among them
    By arya ravi in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-06-2013, 06:52 AM
  5. Find maximum and minimum value for each date
    By anna.gladkova in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 06-05-2012, 08:50 PM
  6. [SOLVED] vba to get the minimum and maximum values based on a unique ID
    By alexbotea2005 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-31-2012, 02:44 PM
  7. [SOLVED] Find Maximum date
    By sgl in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-15-2006, 04:10 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