highlight different cells

mwindau

New Member
Joined
Sep 11, 2015
Messages
32
Office Version
  1. 365
I'm trying to compare 2 (column C and column D) columns against each other. What I want to do is highlight my numbers in column D based on the amount they are over that is in column C.

In my example below. If column D is 1 higher then column C how do I highlight that Red? If column D is 4 over column C how do I highlight that Blue? Each difference in number I want to be a different color. I just want to fill the cell.

I'm looking for a quicker way than manually looking for the differences. Thanks in advance for the help.

Col. C Col. D

4 5
4 8
5 7
10 10
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
You can do that with CF
Select the data in Col D > Home tab > Conditional Formatting > New Rule > Use a formula > =D2=C2+1 > select the format > Ok
Then do the same for =D2=C2+2 etc
If your data does not start in D2 change the cell references to suit
 
Upvote 0

Forum statistics

Threads
1,214,651
Messages
6,120,742
Members
448,989
Latest member
mariah3

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