+ Reply to Thread
Results 1 to 3 of 3

Using DATE function

  1. #1
    Registered User
    Join Date
    12-28-2006
    Posts
    2

    Question Using DATE function

    I am trying to determine an end date for a project. The result I am getting is incorrect, and hope someone can review my formula and find the fault.

    A1 = 8/27/1997
    B1 = 10 (number years in term)
    B2 = 0 (number of addtional months)
    B3 = -1 (number of additional days)

    so, A4=DATE(1997+B1,6+B2,9+B3)

    This formula is returning a date of 6/8/2007, I am expecting a date of 8/26/2007.

    What am I doing wrong?

    Thank you.

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675
    Try

    =DATE(YEAR(A1)+B1,MONTH(A1)+B2,DAY(A1)+B3)

  3. #3
    Registered User
    Join Date
    12-28-2006
    Posts
    2
    Thanks Daddy!

    Never would have thought to do that.

    Happy New Year

+ 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