Number of Months elapsed from start date

Bazzza

New Member
Joined
Jun 28, 2004
Messages
21
Hello All

I am struggling with a date function.

Cell A1 = Start Date "Mar 04"
Cell A2 = Current Month "Nov 05"

In Cell A3 I need to count how many months have elapsed from start month to current month.

Answer I would be looking for is 21

Many thanks
 

Excel Facts

Excel Can Read to You
Customize Quick Access Toolbar. From All Commands, add Speak Cells or Speak Cells on Enter to QAT. Select cells. Press Speak Cells.
Is that actually in the cell as text that way, or is it a formatted date?
 
Upvote 0
On the assumption that the dates aregenuine date valuse, not the text strings 'Mar 04' etc:

=datedif(startdate,enddate,"m")

so:

=DATEDIF(A1,A2,"m")
 
Upvote 0
Hello again

I have realised the my previous question should have been worded better,
think using the term "elapsed" was misleading.

The formula given previously provides an answer of 20, but am looking for 21 so that the first month is counted..

Mar 04 - Month 1
Apr 04 - Month 2
May 04 - Month 3
..
..
..
Oct 05 - Month 20
Nov 05 - Month 21

Any other ideas?
 
Upvote 0

Forum statistics

Threads
1,214,839
Messages
6,121,892
Members
449,058
Latest member
Guy Boot

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top