Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Same s.no but length is different want to highlight maxs length of Same serial no in excel

enter image description here

A column contains S.no, B column contains Length, In c column i want maximum length in b column which is having same serial no.
For eg:

enter image description here

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

You could try the following formula:

enter image description here


• Formula used in cell C2

=REPT("MAX",MAX(($A$2:$A$16=A2)*$B$2:$B$16)=B2)

Or, if you want to display the max number for each sl.no then

enter image description here


• Formula used in cell C2

=REPT(B2,MAX(($A$2:$A$16=A2)*$B$2:$B$16)=B2)

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading