• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

EXCEL Formula or VBA to determine max date based on multiple rows

Stephen Spittal

New Member
Afternoon all,

Im not sure of the best way to work this out.

I download a sheet from a database with the CR number as the identifier
the CR number (Column A) can have upto 12 * 8 rows each row has a focus date (Column L) im looking for away to identify the max date of Column L based on the number of rows for each CR number in Column A.

In the example sheet attached CR Number 202199 is identified in 9 rows A2:A10 and CR Number 202354 is identified in 13 rows A11:A23
In the formula [=IF(COUNTIF(A:A,A2)>0,MAX(L2:L10))] MAX(L2:L10) shoud change based on the change in CR Number rows.
 

Attachments

Narayan & Bosco,

Thank you very much both of those forumla do the job my only problem is i have over 20000 rows and they both take a long time to work, would there be a quicker way?

Many thanks for your help

Regards
Stephen
 
Back
Top