How to Calculate Work Experience Across Multiple Companies in Excel
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.

- 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.
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.
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.
Organize your spreadsheet so that the Start Date for the first company is in cell A2 and the End Date is in B2.
In cell C2, enter the formula =DATEDIF(A2,B2,"Y") to extract the total number of complete years worked.
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.
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 Total Elapsed Days via Simple Subtraction
Use this straightforward method if you only need the total number of calendar days an employee worked, rather than a breakdown of years and months.
Calculate Only Working Days Using NETWORKDAYS
Use this method if your work experience calculation requires excluding weekends and official holidays from the total tenure.
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. Open WPS Spreadsheet: Launch WPS Office, open your HR spreadsheet, and enter your employment start and end dates in standard slash format.
- 2. Apply formulas: Use the =DATEDIF() function to easily extract exact years, months, and days of service.
- 3. Filter business days: Apply the =NETWORKDAYS() function if you need to strictly calculate business days.
- 4. Save and share: Save your document in .xlsx format to retain full compatibility with team members using Microsoft Excel.

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).




