IF functions/conditional formatting

PP299

New Member
Joined
Mar 26, 2009
Messages
10
Hi All

I thought I had this sussed but as soon as my If function was entered into a particular cell my conditional formatting went ever so slighlty haywire.

This is my problem I have an if function in cell K8 (expected end date) which is =IF(c2=2, J8+140,J8+168) but I need to add some conditional formatting which states that cell K8 will turn red when it reaches 40 days before the current end date, amber when it hits 100 days and green any other time.

I have examples from a previous posting but they don't work with the IF function in place!

I hope you can help me.

:eek:
 
other way around but yes! I need green if the date is not one of the others! so I need the date to turn amber when it hits 100 days and red with 40
 
Upvote 0

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
Since you have mentioned different senarios, I'm not clear what you need and don't want to guess. You should be able to use the examples given to write formulas that will do what you want.

lenze
 
Upvote 0

Forum statistics

Threads
1,214,895
Messages
6,122,128
Members
449,066
Latest member
Andyg666

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