I'd like to enter a year in A10 (as YYYY), and have D1 indicate True if A10 shows a year more than 10 years old.
D4 calculates the date 10 years ago [ =DATE(YEAR(NOW())-10, MONTH(NOW()), DAY(NOW())) ]
D10 is to show "True" if A10 is more than 10 years ago from now.
I'm using B10 to convert the YYYY value to a date, and A10's value will always be entered as a year (I don't want the user to enter 1/1/2012 when it's simpler to enter "2012" alone).
I've tried re-formatting cells, using DATE, YEAR, DATEVALUE, but can't seem to get any combination to do what I'd like! Any advice, or am I stuck having the user enter 1/1/YYYY every time?
D5: =DATE(YEAR(NOW())-10, MONTH(NOW()), DAY(NOW()))
B10: =DATE(A10,1,1)
C10: =YEAR(DATE(A10,1,1))
D10: =IF(C10<YEAR($D$4),TRUE)
D4 calculates the date 10 years ago [ =DATE(YEAR(NOW())-10, MONTH(NOW()), DAY(NOW())) ]
D10 is to show "True" if A10 is more than 10 years ago from now.
I'm using B10 to convert the YYYY value to a date, and A10's value will always be entered as a year (I don't want the user to enter 1/1/2012 when it's simpler to enter "2012" alone).
I've tried re-formatting cells, using DATE, YEAR, DATEVALUE, but can't seem to get any combination to do what I'd like! Any advice, or am I stuck having the user enter 1/1/YYYY every time?
D5: =DATE(YEAR(NOW())-10, MONTH(NOW()), DAY(NOW()))
B10: =DATE(A10,1,1)
C10: =YEAR(DATE(A10,1,1))
D10: =IF(C10<YEAR($D$4),TRUE)