Conditional Format

Windall

New Member
Joined
Oct 12, 2005
Messages
4
Hi pse help me to easily format this range so that 1st quartile is Purple, 2nd quartile is Green, 3rd quartile is yellow and 4th quartile is red ........


a 2.805
b 2.796
c 2.544
d 2.179
e 1.981
f 1.829
g 1.751
h 1.706
i 1.659
j 1.541
k 1.421
l 1.201
 

Excel Facts

Convert text numbers to real numbers
Select a column containing text numbers. Press Alt+D E F to quickly convert text to numbers. Faster than "Convert to Number"
Assuming your numbers are in B column.
Use following Conditional Formula and colors as per your requirement.

For Purple
=LOOKUP(B1,QUARTILE($B$1:$B$12,{0,1,2,3}),{1,2,3,4})=1

Green
=LOOKUP(B1,QUARTILE($B$1:$B$12,{0,1,2,3}),{1,2,3,4})=2

Yellow
=LOOKUP(B1,QUARTILE($B$1:$B$12,{0,1,2,3}),{1,2,3,4})=3


Red
=LOOKUP(B1,QUARTILE($B$1:$B$12,{0,1,2,3}),{1,2,3,4})=4
 
Upvote 0

Forum statistics

Threads
1,196,446
Messages
6,015,303
Members
441,887
Latest member
acquamarine

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
Back
Top