Calculation Issues

How to Calculate Work Experience Across Multiple Companies in Excel

Emma BrownEmma Brown Oct 26, 2026 870 views

Question details

The user needs to calculate the individual and combined work experience (tenure) of an employee who has worked at multiple companies across different date ranges.

How to Calculate Work Experience Across Multiple Companies in Excel
Product
Excel
Device & OS
not provided
Scenario
Calculating total years, months, and days of service for an employee with diverse employment periods at different organizations.
Observed behavior
The goal is to accurately format the dates, calculate the exact tenure for each respective company, and find the combined total of work experience without manual counting errors.
Before you start

Ensure all your start and end dates are entered in a valid Excel date format using slashes or hyphens (like MM/DD/YYYY) rather than text or period-separated strings to avoid calculation errors.

Solution 1Recommended

Calculate Detailed Years, Months, and Days Using DATEDIF

This is the most precise method to display exact work experience formatted in years, months, and days, which is ideal for professional HR reporting.

The DATEDIF function calculates the difference between two dates in various units (years, months, or days). Because it handles leap years and variable month lengths automatically, it is the standard for calculating employee tenure.

1
Set up your data

Organize your spreadsheet so that the Start Date for the first company is in cell A2 and the End Date is in B2.

2
Calculate full years

In cell C2, enter the formula =DATEDIF(A2,B2,"Y") to extract the total number of complete years worked.

3
Calculate remaining months and days

In cell D2, type =DATEDIF(A2,B2,"YM") to find the remaining months. In cell E2, type =DATEDIF(A2,B2,"MD") to calculate the remaining days.

4
Calculate combined experience

Repeat this process for the second company in the rows below. To get the combined total across multiple companies, you can sum the total elapsed days first, then apply mathematical division to estimate total combined years and months.

Calculate Detailed Years, Months, and Days Using DATEDIF
DATEDIF Availability: The DATEDIF function is a hidden function in Excel. It will not appear in the autocomplete formula list when you type, but it works perfectly when entered manually.
Spreadsheet Tips

Calculate Employee Tenure Efficiently with WPS Spreadsheet

WPS Spreadsheet fully supports Excel's date formatting, simple arithmetic subtraction, and advanced functions like DATEDIF and NETWORKDAYS. You can seamlessly calculate work experience, manage date ranges, and analyze HR data without worrying about formula compatibility.

  1. 1. Open WPS Spreadsheet: Launch WPS Office, open your HR spreadsheet, and enter your employment start and end dates in standard slash format.
  2. 2. Apply formulas: Use the =DATEDIF() function to easily extract exact years, months, and days of service.
  3. 3. Filter business days: Apply the =NETWORKDAYS() function if you need to strictly calculate business days.
  4. 4. Save and share: Save your document in .xlsx format to retain full compatibility with team members using Microsoft Excel.
Fully compatible with Microsoft Excel date formats and functionsCalculate precise tenure with built-in DATEDIF supportLightweight, fast, and completely free for daily HR tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does my date calculation result in a #VALUE! error?

This usually happens because the dates are formatted as text or use unsupported separators like periods instead of slashes. Re-enter the dates using standard slashes (/) or hyphens (-) so the spreadsheet recognizes them as actual dates.

How do I calculate work experience if the employee is still currently employed?

You can replace the end date reference with the TODAY() function. For example, using the formula =DATEDIF(A2, TODAY(), "Y") will dynamically calculate the years of service up to the current day.

Does simple date subtraction include the final day of work in the total?

Standard subtraction (End Date - Start Date) calculates the elapsed time and technically excludes the final day. If you want to include the final day as a full working day in your total, you should add +1 to your formula (e.g., =B2-A2+1).