Calculation Issues

Calculate an Ending Date and Time from Hours in Excel

Muhammad TalhaMuhammad Talha Dec 2, 2026 869 views

Question details

Calculate an ending date and time by adding elapsed or working hours to a starting date and time.

Calculate an Ending Date and Time from Hours in Excel
Product
Microsoft Excel
Device & OS
not provided
Scenario
The starting date and time are in J2, and the number of hours to add is in H3.
Observed behavior
The desired result is an ending date and time that accounts for hours crossing into another day.
Before you start

Check that J2 contains a recognized Excel date and time and H3 contains a numeric number of hours. Decide whether the hours are elapsed hours or must be limited to a work schedule.

Solution 1Recommended

Add elapsed hours to the starting date and time

Use this formula when every hour counts, including overnight hours and weekends.

Excel stores time as a fraction of a day. Dividing the number of hours by 24 converts it to a value that can be added to a date and time.

1
Enter the formula

Select I3, enter =J2+H3/24, and press Enter.

2
Display the date and time

Select I3, open Format Cells, and choose Custom. Enter m/d/yyyy h:mm as the format.

3
Check the result

For example, enter 6/30/2022 19:28 in J2 and 15 in H3. I3 should display 7/1/2022 10:28.

Add elapsed hours to the starting date and time
Elapsed hours include nonworking time: This formula does not skip weekends, holidays, or hours outside a workday.
Calculate dates and times in WPS

Calculate an elapsed end time in WPS Spreadsheets

Use WPS Spreadsheets to add elapsed hours to a starting date and time, then format the result so both the date and time are visible.

  1. 1. Open the spreadsheet: Open WPS Spreadsheets and load your workbook or create a new spreadsheet.
  2. 2. Enter the inputs: Enter the starting date and time in J2 and the elapsed hours as a number in H3.
  3. 3. Calculate the end time: Select I3, enter =J2+H3/24, and press Enter.
  4. 4. Format the result: Select I3, open Format Cells, and choose a date and time format such as m/d/yyyy h:mm.
Calculate end dates and times with a simple spreadsheet formulaOpen and edit Microsoft Excel XLSX filesApply custom date and time formatsUse a familiar spreadsheet interface
microsoft office alternative - wps office

Frequently Asked Questions

Why does the formula divide hours by 24?

Excel stores one day as 1, so one hour is 1/24 of a day. The formula =J2+H3/24 converts the hours in H3 before adding them to J2.

Why does my result show a number instead of a date and time?

The cell may have a General or Number format. Select the result, open Format Cells, and apply a date and time format such as m/d/yyyy h:mm.

Does adding hours automatically skip weekends?

No. The formula =J2+H3/24 adds elapsed time, including weekends. For a fixed weekday schedule, use a working-hours formula that includes WORKDAY.INTL.

Can I add a fractional number of hours?

Yes. Enter a decimal in H3, such as 1.5 for one hour and 30 minutes, and use =J2+H3/24.

How do I use one result as the next starting time?

Reference the previous result in the next formula. For example, if I3 is the next start and H4 contains the next number of elapsed hours, enter =I3+H4/24 in the next result cell.