IF formula with dates [Solved/Closed]

CeskyWater 1 Posts Monday June 6, 2016Registration date June 6, 2016 Last seen - Jun 6, 2016 at 11:40 AM - Latest reply:  CeskyWater
- Jun 8, 2016 at 11:22 AM
Hi, I would like to set an IF formula which flags me if someone has been working with us as temp for more than 12 weeks... so I have start date and end date, how do I set the range to obtain this information please?

Many thanks in advance
See more 

2 replies

RayH 122 Posts Tuesday August 31, 2010Registration dateContributorStatus June 20, 2016 Last seen - Jun 6, 2016 at 02:46 PM

=IF((B2-A2)/7>12,"Greater Than 12 Weeks","")

Where A2 is the Start Date and B2 is the End Date.

B2-A2 gives the number of calendar days difference then dividing by 7 gives the number of weeks.
Thank you Ryan, very helpful