Brain Not working with conditional formating

damian_r_Home

Board Regular
Joined
Jan 8, 2005
Messages
231
Office Version
  1. 365
  2. 2007
Platform
  1. Windows
Howdo.
Yes this should be simple but as somebody only once in a blue moon has to now create spreadsheets, I can't figure out what to do and so your help is appreciated with the formulas

Cell G4 either has a date in it or is empty.
If empty, no conditional formatting should occur whatsoever.

If G4 contains a date, the following needs to apply.
If the value in cell I4 EQUALS 100 then no conditional formatting should apply
If the date is within the next 14 days of =TODAY(), then the cell should have an amber background
If the date is before =TODAY() and a value in I4 is less than 100, the cell needs to format red background


I think that's all i need, I just cant remember how to get an IF statement to work in the conditional formatting options
 

Excel Facts

Waterfall charts in Excel?
Office 365 customers have access to Waterfall charts since late 2016. They were added to Excel 2019.
How about
=AND(G4<>"",I4<100,G4<TODAY())
=AND(G4<>"",I4<100,G4<TODAY()+14)
 
Upvote 0
you need a few rules and AND/OR statements rather than an IF

= AND( G4 <> "", I4 <> 100, G4 > = today () , G4 < = today() +14 )
thats should give amber

RED
= AND( G4 <> "", I4 < 100, G4 < = today() )
 
Upvote 0

Forum statistics

Threads
1,214,914
Messages
6,122,211
Members
449,074
Latest member
cancansova

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