conditional formatting

cornepiek

New Member
Joined
Jun 22, 2010
Messages
48
hi all

i need some help with conditional formatting

i have two columns, F and G.

i need to have any value in column G greater the the same cell in column f marked red

and any value in column g less than the same cell in column f to be marked green.

please help
 

Excel Facts

Enter current date or time
Ctrl+: enters current time. Ctrl+; enters current date. Use Ctrl+: Ctrl+; Enter for current date & time.
Try like this

Excel Workbook
FG
112
221
Sheet1
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G11. / Formula is =G1Abc
G12. / Formula is =G1>F1Abc
 
Upvote 0
i tried this formula, but for this i need to manually enter the formula for each cell.

i am working with a growing data sheet so the amount of rows that needs to be formatted will change every day.

is there a way i can format the entire column like this, or use a macro to format only the populated cells in the column?
 
Upvote 0
You can select the whole of column G (or as much of it as you wish) and apply the CF formulas given. Excel will adjust the formulas automatically for rows below row 1.
 
Upvote 0

Forum statistics

Threads
1,224,599
Messages
6,179,831
Members
452,946
Latest member
JoseDavid

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