Help with conditional formatting

Insomnia81

New Member
Joined
Dec 16, 2015
Messages
5
Not sure this is possible and if not any idea how I could work around it?

Basically I have around 1000 rows of information and in one of the columns I have numbers 0-100. What I want to do is format cells 0-9 one color, 10-19 another, etc... I tried to do a formula if >X then format, but it supersedes the prior formulas so at the end of the day everything is just one color.
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
Try:

=AND(condition 1,Condition 2)

in your example, replace condition 1 with: A1>=0

replace condition 2 with A1<=9

choose your custom format, and repeat for all your conditions!
 
Upvote 0
Another option for your particular example is as follows, just using a single condition* for each section
The conditions need to end up in this order (they can be rearranged via Conditional Formatting -> Manage Rules) and each rule marked with the box 'Stop if True'.

I have only set up 3 of the rules but just continue the pattern.

* If there can be blank cells in the range that you don't want coloured, change the first rule only to =AND(E2<10,E2<>"")

Excel Workbook
E
23
39
420
518
66
728
825
CF
Cells with Conditional Formatting
CellConditionCell FormatStop If True
E21. / Formula is =E2<10Abc
E22. / Formula is =E2<20Abc
E23. / Formula is =E2<30Abc
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,828
Messages
6,181,215
Members
453,024
Latest member
Wingit77

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