Shade cells which have values in the bottom 20% of a table

mhah

New Member
Joined
Jan 3, 2013
Messages
1
I have the following table in my spreadsheet. I'm trying to shade those cells with values in the bottom 10% (bottom decile) of those values in pink colour, and those cells with values in the 10-20% (next bottom decile) in orange colour. Appreciate any help with this - thanks.

[TABLE="width: 50"]
<TBODY>[TR]
[TD]28%[/TD]
[/TR]
[TR]
[TD]23.6%[/TD]
[/TR]
[TR]
[TD]29.5%[/TD]
[/TR]
[TR]
[TD]16.5%[/TD]
[/TR]
[TR]
[TD]17.7%[/TD]
[/TR]
[TR]
[TD]23.1%[/TD]
[/TR]
[TR]
[TD]67.8%[/TD]
[/TR]
[TR]
[TD]43.2%[/TD]
[/TR]
[TR]
[TD]6.8%[/TD]
[/TR]
[TR]
[TD]28.4%[/TD]
[/TR]
[TR]
[TD]12.7%[/TD]
[/TR]
[TR]
[TD]14.3%[/TD]
[/TR]
[TR]
[TD]12%[/TD]
[/TR]
[TR]
[TD]15%[/TD]
[/TR]
</TBODY>[/TABLE]
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.

Forum statistics

Threads
1,223,246
Messages
6,170,988
Members
452,373
Latest member
TimReeks

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