difference in months
Hi there
I have 2 dates and i want to calculate the difference in months not years Any help will be appreciated Thanks Londoner |
difference in months
Try theses out. I found them in the Excel HELP.
=MONTH(A3)-MONTH(A2) Calculates difference in months within same year. =(YEAR(A4)-YEAR(A3))*12+MONTH(A4)-MONTH(A3) Calculates difference in months for dates occurring in different years. Les "Londoner" wrote: Hi there I have 2 dates and i want to calculate the difference in months not years Any help will be appreciated Thanks Londoner |
difference in months
With the first date in G1 and the 2nd date in G2 try:
=DATEDIF(G2,G1,"m") If the dates will not always be witht he earliest date in G1 then use: =DATEDIF(MIN(G2,G1),MAX(G2,G1),"m") -- HTH Sandy In Perth, the ancient capital of Scotland and the crowning place of kings with @tiscali.co.uk "Londoner" wrote in message ... Hi there I have 2 dates and i want to calculate the difference in months not years Any help will be appreciated Thanks Londoner |
All times are GMT +1. The time now is 10:48 PM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com