Conditional formatting problem

Susan1968

New Member
Joined
Feb 4, 2014
Messages
29
Hi,

I am trying to apply conditional formatting to Cells D4:D80 that would change colour based on the value in each cell being lees than or greater than the previous cell... i.e. if D4 is £25.00 and C4 is £20.00 then i want D4 to turn Green if its less I need it to turn red. I can manage to do this for one cell but when i try to drag down the formula from D4 to D80 so C8 affects D8 it wont allow me to do this. If someone can help me to solve this i would need to use format painter and apply the same Conditional formatting to Columns 8, 12,16,20 and so on

Im not sure how to attach a copy of the file.. so hopefully this chart helps to visualize what i need.

Thanks in Advance

Susan

ABCD
CaseNameOwing Paid
£20.00£25.00

<tbody>
</tbody>

<tbody>
</tbody>
 

Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
Select D4:D80 then in Cf > New Rule > Use a formula
And use this formula for green
=D4>C4

and the same for red with
=D4< C4<c4< html=""></c4<>
 
Last edited:
Upvote 0
To apply the Conditional Formatting to a whole range of cells at once, here is the key:
1. Select the whole range you want it applied to first
2. Write the Conditional Formatting as it applies to the very first cell in your select range. If you use the right combination of absolute/relative range references, the range reference will lock/float as needed.
 
Upvote 0
Glad we could help & thanks for the feedback
 
Upvote 0

Forum statistics

Threads
1,214,897
Messages
6,122,151
Members
449,068
Latest member
shiz11713

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