+ Reply to Thread
Results 1 to 7 of 7

Please help with a formula to add (sum) two periods

  1. #1
    Registered User
    Join Date
    01-18-2017
    Location
    Romania
    MS-Off Ver
    Office 2007
    Posts
    2

    Please help with a formula to add (sum) two periods

    Hello! Could you help me with a formula to add (sum) two periods. For example if I wish to add 01 year, 06 months, 12 days with 02 years, 07 months, 26 days how can I do it? With what formula? The correct answer would be 04 years 02 months and 08 days. But what formula in Excel would give me that answer. Thank you.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Please help with a formula to add (sum) two periods

    Hi, welcome to the forum

    Dont see how you get 4 years?

    How is the data entered or where does it come from?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Please help with a formula to add (sum) two periods

    Hi, welcome to the forum

    Dont see how you get 4 years?

    How is the data entered or where does it come from?

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Please help with a formula to add (sum) two periods

    apoligies, I must not have been looking straight lol...
    A
    B
    C
    1
    Year Month Day
    2
    1
    6
    12
    3
    2
    7
    26
    4
    4
    2
    8

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Please help with a formula to add (sum) two periods

    apoligies, I must not have been looking straight lol...
    A
    B
    C
    1
    Year Month Day
    2
    1
    6
    12
    3
    2
    7
    26
    4
    4
    2
    8

  6. #6
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Please help with a formula to add (sum) two periods

    Enter in A3
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Enter in B3
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Enter in C3
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C
    1 1 6 12
    2 2 7 26
    3 4 2 8.0
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  7. #7
    Registered User
    Join Date
    01-18-2017
    Location
    Romania
    MS-Off Ver
    Office 2007
    Posts
    2

    Re: Please help with a formula to add (sum) two periods

    Thank you for your quick reply. But my problem is more complex. I use this formula to calculate the difference betwen two date:
    =DATEDIF(A1;B1;"y")&" years, " & DATEDIF(A1;B1;"ym")&" months, " & DATEDIF(A1;B1;"md")&" days"

    Then I want to add (sum) all the results. Maybe with a print screen with an example I can explain myself better.
    Example Image.jpg

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Formula to flag missed periods
    By amartin575 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-23-2016, 12:17 PM
  2. Writing a formula that will return blanks for certain periods...
    By crgannon in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-28-2015, 05:17 PM
  3. formula help for certain time periods
    By F&D in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-07-2014, 06:29 PM
  4. What formula to calculate periods??
    By rowley1500 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-15-2013, 04:54 AM
  5. Calculating break times for different periods in the same formula
    By susanairios in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-25-2013, 02:21 PM
  6. Formula for counting monthly payment periods
    By Mondo in forum Excel General
    Replies: 2
    Last Post: 10-28-2010, 02:20 AM
  7. formula for end of month time periods
    By humboldtguy in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 05-13-2010, 03:07 AM

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