Conditional Formatting with multiple formula/criteria

deboz

New Member
Joined
Jul 28, 2008
Messages
8
Hi Everyone,

I am having a bit of trouble with conditional formatting. I feel like I am losing my mind!

What my boss wants is the value in cell E to be a certain colour depending on the value.


If H is higher then E, color it green
If H is higher than E by 500 then color it yellow
If H is higher then E by 1000 then color it blue
If Hi s higher than E by 1500 then color it purple

Example:

ABCDEFGH
1EmployeeEarningsDeductionSupBonus PaidUserRevenue (tax incl)
2Name 1 $ 1,206.89 $ - $ 106.80 $ 3,941.07Name 1 $ 1,755.40
3Name 2 $ 587.38-$ 75.00 $ 52.78 $ 1,695.4875Name 2 $ 1,730.95
4Name 3 $ 948.95 $ - $ 88.18 $ 3,111.39Name 3 $ 1,946.85
5Name 4 $ 1,032.39 $ - $ 96.51 $ 3,386.70Name 4 $ 3,015.25
6Name 5 $ 1,173.06 $ - $ 108.30 $ 3,844.08Name 5 $ 1,038.80

<colgroup><col><col><col><col><col><col><col><col></colgroup><tbody>
</tbody>


Can anyone help me please :)

Regards
Deb:eek:
 

Excel Facts

Select all contiguous cells
Pressing Ctrl+* (asterisk) will select the "current region" - all contiguous cells in all directions.
I got it to work :). I added a formula in column J =H2-E2 then i highlighted column E and added a few conditional formatting rules based on a formula:

=AND(J2>=0,J2<=499) format to green background
=AND(J2>=500,J2<=999) format to yellow background
=AND(J2>=1000,J2<=1500) format to blue background
 
Upvote 0
Solution

Forum statistics

Threads
1,215,081
Messages
6,123,016
Members
449,093
Latest member
ikke

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