Changing formatting for a percentile-based Color Scale

Ezzard

New Member
Joined
Feb 22, 2014
Messages
14
I have a list of numerical data and I want to use conditional formatting to highlight certain cells based on their percentile within the data. For the top 15% I want to color the data in one color and for the bottom 15% I want to color the data in another color. Any data that is in between should not have its formatting changed at all. I have tried using the color scale to format this data, but when I do so, the cells in between the data are scaled between the two colors for the top and bottom percentiles.

How do I conditionally format the top and bottom percentiles without formatting the rest of the data at all?
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

bbott

Well-known Member
Joined
Feb 5, 2010
Messages
2,350
Assuming a data set in A1:A10, maybe these CF formulas would work for you?

=A1 >= PERCENTILE($A$1:$A$10,0.85)

=A1 <= PERCENTILE($A$1:$A$10,0.15)
 
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,164,651
Messages
5,838,586
Members
430,557
Latest member
MK15

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