+ Reply to Thread
Results 1 to 4 of 4

Need Cumulative Length of Service - Sum of 2 lengths of service

  1. #1
    Registered User
    Join Date
    03-09-2020
    Location
    PA, USA
    MS-Off Ver
    Excel 2016
    Posts
    2

    Need Cumulative Length of Service - Sum of 2 lengths of service

    Hi!

    I am trying to determine the cumulative length of service between 2 date ranges yielding results of " _ years, _ months".
    I used the =DATEDIF function to yield the length between original hire and prior term date as well as rehire date and date that length of service is being calculated to (12/31/2019).

    How do I combine those?

    Here is sample of the data that I'm working with:
    Attached Files Attached Files

  2. #2
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,169

    Re: Need Cumulative Length of Service - Sum of 2 lengths of service

    Hi mmmrsp and welcome to the forum,

    Would the Excel function of "=YearFrac()" be useful to you? In H2 try this formula and pull it down.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  3. #3
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,453

    Re: Need Cumulative Length of Service - Sum of 2 lengths of service

    Solution deleted - OP not interested
    Last edited by Pepe Le Mokko; 03-09-2020 at 10:44 AM.

  4. #4
    Registered User
    Join Date
    03-09-2020
    Location
    PA, USA
    MS-Off Ver
    Excel 2016
    Posts
    2

    Re: Need Cumulative Length of Service - Sum of 2 lengths of service

    Hi MarvinP -

    That yields a numerical data, correct? Whereas the year is a whole number and the remainder is decimal?

    I think that will give me the information I need.

    Thank you!

+ 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. [SOLVED] Putting length of service into age brackets
    By tbrooksy in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-01-2017, 03:15 PM
  2. [SOLVED] Compare Price List for Duplicate Service Code & Service Description.
    By hecgroups in forum Excel Programming / VBA / Macros
    Replies: 11
    Last Post: 03-27-2016, 12:58 PM
  3. Excel 2007 : Length of service in age bands
    By SteveLaird in forum Excel General
    Replies: 0
    Last Post: 09-21-2011, 10:17 AM
  4. Length of Service
    By Dom in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 07-17-2006, 05:55 PM
  5. [SOLVED] Length of Service
    By Dom in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-17-2006, 03:26 PM
  6. Determine Length of Service
    By TheLeafs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-03-2006, 03:10 PM
  7. Need formula to tie cost of service to service code
    By mkrebs in forum Excel General
    Replies: 1
    Last Post: 03-23-2005, 01:53 PM

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