I am using excel 2007 and WinXP.
I am creating a chemical database including MSDS (material safety data sheets) which need to be no more than 5years old. I am trying to write a formula such that a year can be entered (e.g. 2007) and in the next cell will be 'yes' or 'no' depending on the answer to 'current year' -'year entered' (eg 2010-2007) using some logic.
I know how to formulate IF, THEN etc. Its just that when I enter a year it treats it like a serial number, converting 2005 to 1905. I would rather not have to enter a complete date, just the year only. (I understand the NOW() function for current date too.)
Thanks for all help.
Andrew
I am creating a chemical database including MSDS (material safety data sheets) which need to be no more than 5years old. I am trying to write a formula such that a year can be entered (e.g. 2007) and in the next cell will be 'yes' or 'no' depending on the answer to 'current year' -'year entered' (eg 2010-2007) using some logic.
I know how to formulate IF, THEN etc. Its just that when I enter a year it treats it like a serial number, converting 2005 to 1905. I would rather not have to enter a complete date, just the year only. (I understand the NOW() function for current date too.)
Thanks for all help.
Andrew