Highlighting the SECOND largest number in a column ?

Aitch

Board Regular
Joined
Jan 27, 2019
Messages
119
Office Version
  1. 2010
Platform
  1. Windows
I'm using Conditional Formatting with the MAX formula:

=A1=MAX($A$2:$A$222)

to find and highlight the highest value in the A column range


How can I do the same to highlight the second largest value in the column?


Thanks for the help!
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"

vcoolio

Well-known Member
Joined
Jun 29, 2014
Messages
1,285
Office Version
  1. 365
Platform
  1. Windows
Post deleted as the same answer was already supplied by Tetra.
 
Last edited:

Phuoc

Well-known Member
Joined
Apr 29, 2016
Messages
603
Office Version
  1. 2016
Or try:

=A1=MAX(($A$1:$A$222<>MAX($A$1:$A$222))*$A$1:$A$222)

10
9
10
10
 

Aitch

Board Regular
Joined
Jan 27, 2019
Messages
119
Office Version
  1. 2010
Platform
  1. Windows
Great!

How do I use this with an ArrayFormula so it checks for the highest in blocks of 10 down the column?

A1-A10
A11-A20 etc

This doesn't seem to work =ArrayFormula(A2=LARGE($A$2:$A$12,2))
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,109
Messages
5,857,441
Members
431,879
Latest member
KiwDaWabbit

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top