IF function with Date addition
Solved/Closed
garycrant
Posts
3
Registration date
Sunday 21 September 2014
Status
Member
Last seen
25 September 2014
-
21 Sep 2014 à 22:39
garycrant Posts 3 Registration date Sunday 21 September 2014 Status Member Last seen 25 September 2014 - 25 Sep 2014 à 18:41
garycrant Posts 3 Registration date Sunday 21 September 2014 Status Member Last seen 25 September 2014 - 25 Sep 2014 à 18:41
Related:
- IF function with Date addition
- Hard drive function - Guide
- Network card function - Guide
- Mutator function c++ - Guide
- Iserror function in excel with vlookup - Guide
- Excel if function with dates - Guide
1 response
TrowaD
Posts
2921
Registration date
Sunday 12 September 2010
Status
Contributor
Last seen
27 December 2022
555
23 Sep 2014 à 11:06
23 Sep 2014 à 11:06
Hi Garycrant,
Not sure where you get the 2 in your formula attempt, but try this:
=IF(C2-B2>4,"Late","Not Late")
Best regards,
Trowa
Not sure where you get the 2 in your formula attempt, but try this:
=IF(C2-B2>4,"Late","Not Late")
Best regards,
Trowa
23 Sep 2014 à 16:44
Thank you for your response.
I meant +4, sorry, guess I spent so much time looking at numbres it was hard to see straight.
I entered the formula you suggested, and it works!
I have another question along with my initial one: if the Date of arrival (C2) cell is empty, I would like it to have 'Pending' appear.Would that be too many formulas in one function?
25 Sep 2014 à 10:51
Not at all.
=IF(C2="","Pending",IF(C2-B2>4,"Late","Not Late"))
Best regards,
Trowa
25 Sep 2014 à 18:41
Thank you again Trowa, you've been a great help!