Hi there
I am trying write an IF function that will calculate the number of years between a particular date and an employee's start date. If they have been employed for 2+ years then I want "Yes" to appear.
I have put =IF((01/05/05 - C6)>=2, "Yes", "No")
C6 being the cell with the start date in it. My query is returning "No" for everything - when some should be "Yes". I think there is a problem with the date, as the query itself is returning something.
Any suggestions would be greatly appreciated.
Thanks
I am trying write an IF function that will calculate the number of years between a particular date and an employee's start date. If they have been employed for 2+ years then I want "Yes" to appear.
I have put =IF((01/05/05 - C6)>=2, "Yes", "No")
C6 being the cell with the start date in it. My query is returning "No" for everything - when some should be "Yes". I think there is a problem with the date, as the query itself is returning something.
Any suggestions would be greatly appreciated.
Thanks