Help with Conditional Formatting

silentnoise713

New Member
Joined
Aug 19, 2024
Messages
2
Office Version
  1. 365
Platform
  1. Windows
Hi All,



I’m having challenges with getting a conditional formatting formula to work. Hope someone can help here 😊.



The use case is we have staff that that needs training/cert every 3 years. We’d like to have conditional formatting to identify when the person is 3 moths out to their Annv, 2 months out, and 1 month out. I’m looking at using IF(AND) condition but the values in F values, causing problems.



Column Setup:

A1 = Today()

C, D, E = calculated using DATEDIF($B3,$A$1,"Y"/"YM"/"MD")

F = C3/3 – this gets how many iterations of the 3 years notice was sent and the fraction .33 and .66 would indicate 1 or 2 years pass.

G = MONTH($B3)-MONTH($A$1) – this gets the month diff, negative is past while positive is approaching.




I am looking for a condition formal to determine where:

Column F = any value that contains *.667* and column G = 3 to turn Yellow

Column F = any value that contains *.667* and column G = 2 to turn Orange

Column F = any value that contains *.667* and column G = 1 to turn Red



Thank in advance for your help!
 
Last edited by a moderator:

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
sry, not sure how the pic link came up 3x and I don't see an edit option. @Mods, could you please remove dup pic links? Thank you.
 
Upvote 0
Welcome to the MrExcel board!

@Mods, could you please remove dup pic links?
Done.
For the future, best method is to 'Report' your post (link at bottom left of the post) & explain in the report what you want done why.

BTW, once you have made a few more posts you will be able to edit (for 10 minutes after posting). :)
 
Upvote 0

Forum statistics

Threads
1,221,310
Messages
6,159,173
Members
451,543
Latest member
cesymcox

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