+ Reply to Thread
Results 1 to 3 of 3

Calculate the number of Months between dates

Hybrid View

  1. #1
    Registered User
    Join Date
    04-21-2007
    Posts
    12

    Calculate the number of Months between dates

    I need to calculate the depreciation expensed for an assets sold.

    I have the purchase date 07/14/07 and sold it on 06/04/10

    I need the months between the two dates

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    16,040

    Re: Calculate the number of Months between dates

    Maybe this: =12*(YEAR(B1)-YEAR(A1))+MONTH(B1)-MONTH(A1)
    Never use Merged Cells in Excel

  3. #3
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Calculate the number of Months between dates

    Another way is

    =DATEDIF(PurchaseDate;SoldDate;"m")

    or

    =INT((E11-D11)/30)

    Read more about DATEDIF function
    Last edited by contaminated; 09-03-2010 at 02:25 AM.
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1