
There are two constants that you know for each column: the amount of time after which the training is expired (you mentioned 1 year, 2 years, etc) and the length of the warning period (you mentioned only 1 month but it could be different for different training subjects). For each column, you need to create three conditional formatting rules.
For example, select column D, click on Conditional Formatting, select New Rule and then Use a formula... In the formula box enter =AND(ISNUMBER(D1),TODAY()-D1>365)
and select your red formatting. Create the second and third formulas =AND(ISNUMBER(D1),TODAY()-D1>335)
and =ISNUMBER(D1)
the same way, selecting the appropriate color. Then click on Conditional Formatting and Manage Rules, reorder the rules if necessary and check the Stop If True box for each.
You can replace the second argument of the AND function with a different expression as I showed in my earlier answer. If you want the color coding to be "as of" the date in A1 instead of today, replace calling the TODAY function with a reference to cell A1.