Conditional formatting with formula

drluke

Active Member
Joined
Apr 17, 2014
Messages
314
Office Version
  1. 365
Platform
  1. Windows
I am calculating % movements between sets of numbers usingthis formula:
=IFERROR(IF(ABS((B1-C1)/C1)>5,””,(B1-C1)/C1),”-“)
I now need to add conditional formatting to the formula (orsomewhere) that will apply different formatting depending on which range ofcells and the result:

Turnover Range (B1:C8) - if movement between B & C is adecrease the % in D must be red. If it’san increase it must be green
COS Range (B12:C20) - if the movement is a decrease – green. Increase = red
Gross Profit Range (B22:C28) - decrease = red. Increase = green
Expenses Range (B32:C50) - decrease = green. Increase = red

Is this kind of formatting even possible in Excel?

 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Re: Condditional formatting with formula

For turnover, select D1:D8, go to Conditional Formatting/New Rule/Using a formula to determine...., enter "=C1>B1", and choose a green color as the fill color.
 
Upvote 0

Forum statistics

Threads
1,223,895
Messages
6,175,257
Members
452,625
Latest member
saadat28

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