Conditional Formatting

GetGemmafied

New Member
Joined
Aug 23, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Help. I am trying to create a rule where a cell changes colour based on the values of other cells.
I have created a Stocktake and order form. I am trying to have the cell in the "ORDER" column change colour when the cell in the "Stocktake" column is less then the cell in the "Staple" Column. Does that make sense?
I appreciate any and all help. Thank you
 

Attachments

  • Capture.PNG
    Capture.PNG
    6 KB · Views: 4

Excel Facts

Will the fill handle fill 1, 2, 3?
Yes! Type 1 in a cell. Hold down Ctrl while you drag the fill handle.
Welcome to the MrExcel board!

Something like this?

24 08 23.xlsm
DEFG
7011
8121
942-2
10011
CF
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G7:G10Expression=D7<E7textNO


BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with. If you have trouble with XL2BB review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of theXL2BB Instructions page linked above.
 
Upvote 0
Solution
Welcome to the MrExcel board!

Something like this?

24 08 23.xlsm
DEFG
7011
8121
942-2
10011
CF
Cells with Conditional Formatting
CellConditionCell FormatStop If True
G7:G10Expression=D7<E7textNO


BTW, I suggest that you investigate XL2BB for providing sample data to make it easier for helpers by not having to manually type out sample data to test with. If you have trouble with XL2BB review the "XL2BB Icons greyed out" link in the 'Known XL2BB issues' section near the top of theXL2BB Instructions page linked above.
Thank you Peter, much appreciated. Where do I put this formula?
 
Upvote 0
Where do I put this formula?
For the layout in my sample

Select from G7:G10 and then
Home ribbon tab -> Conditional Formatting -> New rule ... -> Use a formula to determine which cells to format -> Format values where this formula is true: =D7<E7 -> Format... -> Set whatever formatting you want -> OK -> OK
 
Upvote 0
For the layout in my sample

Select from G7:G10 and then
Home ribbon tab -> Conditional Formatting -> New rule ... -> Use a formula to determine which cells to format -> Format values where this formula is true: =D7<E7 -> Format... -> Set whatever formatting you want -> OK -> OK
Awesome, thank you so much. Very much appreciated
 
Upvote 0
You're welcome. Thanks for the follow-up. :)
 
Upvote 0

Forum statistics

Threads
1,221,522
Messages
6,160,307
Members
451,637
Latest member
hvp2262

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