Conditional Formatting

mang121

New Member
Joined
Nov 14, 2017
Messages
10
I have a sheet with a couple hundred rows of data. I want to format the font in G5 to be red if the value is less than D5. This part I have figured out. What I cannot figure out is how to apply this formula to G6, G7, G8,etc... and their corresponding D6,D7, D8, etc... quickly. I am manually setting up each rule in each cell.

I've tried absolute referencing in the conditional formatting formula but with no luck.
 

Excel Facts

Show numbers in thousands?
Use a custom number format of #,##0,K. Each comma after the final 0 will divide the displayed number by another thousand
Select all the cells you want to apply the Conditional Formatting to, and then write the CF formula as it applies to the first cell in your selection.
For example, if you wanted to apply it to G5:G100, select range G5:G100 and enter the CF formula:
Code:
=$G5 < $D5
and choose your formatting color.
Excel will automatically adjust it for all the other rows in your selection.
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,270
Members
452,628
Latest member
dd2

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