Date formula
Solved/Closed
Mancha
-
Feb 27, 2010 at 01:00 PM
mariejose2636 Posts 2 Registration date Tuesday September 14, 2010 Status Member Last seen September 14, 2010 - Sep 14, 2010 at 12:04 PM
mariejose2636 Posts 2 Registration date Tuesday September 14, 2010 Status Member Last seen September 14, 2010 - Sep 14, 2010 at 12:04 PM
Related:
- Date formula
- Date formula in excel dd/mm/yyyy - Guide
- Logitech formula vibration feedback wheel driver - Download - Drivers
- Excel grade formula - Guide
- Number to words in excel formula - Guide
- Credit summation formula - Guide
2 responses
aquarelle
Posts
7140
Registration date
Saturday April 7, 2007
Status
Moderator
Last seen
March 25, 2024
491
Feb 27, 2010 at 04:03 PM
Feb 27, 2010 at 04:03 PM
Hello,
I have considered that your dates were like that in your worksheet then to calculate de difference between two dates :
Thus you can try with this formula in C2 :
=(YEAR(B2)-YEAR(A2))*12+MONTH(B2)-MONTH(A2)
And if you want to know a date with adding a number of months to an other date :
Try with this formula in C2 :
=MIN(DATE(YEAR(A2),YEAR(A2)+C2+1,0),DATE(YEAR(A2 ),MONTH(A2)+C2,DAY(A2)))
Best regards
I have considered that your dates were like that in your worksheet then to calculate de difference between two dates :
A B 1 Start End 2 01/05/09 02/27/10
Thus you can try with this formula in C2 :
=(YEAR(B2)-YEAR(A2))*12+MONTH(B2)-MONTH(A2)
And if you want to know a date with adding a number of months to an other date :
A B 1 Start Month number 2 01/05/09 2
Try with this formula in C2 :
=MIN(DATE(YEAR(A2),YEAR(A2)+C2+1,0),DATE(YEAR(A2 ),MONTH(A2)+C2,DAY(A2)))
Best regards
mariejose2636
Posts
2
Registration date
Tuesday September 14, 2010
Status
Member
Last seen
September 14, 2010
Sep 14, 2010 at 12:04 PM
Sep 14, 2010 at 12:04 PM
Hi , can any one help me in this ,
that i have used this formula
And if you want to know a date with adding a number of months to an other date :
A B
1 Start Month number
2 01/05/09 2
Tried with this formula in C2 :
=MIN(DATE(YEAR(A2),YEAR(A2)+C2+1,0),DATE(YEAR(A2 ),MONTH(A2)+C2,DAY(A2)))
But i can't able to find the end date.
CAN ANY ONE HELP ME IN THIS .
thanks in advance
Joe.
that i have used this formula
And if you want to know a date with adding a number of months to an other date :
A B
1 Start Month number
2 01/05/09 2
Tried with this formula in C2 :
=MIN(DATE(YEAR(A2),YEAR(A2)+C2+1,0),DATE(YEAR(A2 ),MONTH(A2)+C2,DAY(A2)))
But i can't able to find the end date.
CAN ANY ONE HELP ME IN THIS .
thanks in advance
Joe.