DarbyBrown
New Member
- Joined
- Jan 22, 2016
- Messages
- 31
- Office Version
- 365
- Platform
- Windows
Running Excel 365, and trying to change the color of one of the cell’s background color depending on the value within the cell. The cell contains a currency number derived from the sum of a series of deposit values minus the sum of a series of withdrawals. I want to have the cell background to be either red if the value is less than 0 or green if it is equal to or greater than 0.
I know the way to do this is using Conditional Formatting and have tried the following 2 options::
Home>Conditional Formatting>New Rule>
Format all cells based on their value>
Format Style>2 color scale>
Option 1:
Minimum
Type>Number>
Value> <0
Color>’Dark Red’
Maximum
Type>Number>
Value> <0
Color> ‘Green’
Option 2:
Minimum
Type>Formula>
Value> ‘IF($H$17<0)
Color>’Dark Red’
Maximum
Type>Formula>
Value>’IF($H$17=>0)
Color> ‘Green’
Neither option worked. I now I can have the cell display (-$1234.00) but I want the cell to 'scream' deficit!! I'm not sure where to go from here. What did I do wrong?
darby
I know the way to do this is using Conditional Formatting and have tried the following 2 options::
Home>Conditional Formatting>New Rule>
Format all cells based on their value>
Format Style>2 color scale>
Option 1:
Minimum
Type>Number>
Value> <0
Color>’Dark Red’
Maximum
Type>Number>
Value> <0
Color> ‘Green’
Option 2:
Minimum
Type>Formula>
Value> ‘IF($H$17<0)
Color>’Dark Red’
Maximum
Type>Formula>
Value>’IF($H$17=>0)
Color> ‘Green’
Neither option worked. I now I can have the cell display (-$1234.00) but I want the cell to 'scream' deficit!! I'm not sure where to go from here. What did I do wrong?
darby
Last edited: