Calculation Issues

How to Calculate Average Speed Across Multiple Days in WPS Office Spreadsheets

Camila MilosovichCamila Milosovich Nov 13, 2026 869 views

Question details

The user needs to calculate average speed for a trip when the start and finish occur on different dates by combining each date and time into a single Excel-compatible value.

How to Calculate Average Speed Across Multiple Days in WPS Office Spreadsheets
Product
WPS Office Spreadsheets
Device & OS
not provided
Scenario
The user has a start date and time in one cell, an end date and time in another cell, and a distance value; they want the average speed across multiple days.
Observed behavior
The desired result is an accurate average speed computed as distance divided by total elapsed hours, with date-time arithmetic working across multiple days.
Before you start

Make sure the start and end cells contain real date-time values or formulas that return date-time serial numbers, not text. Format the formula result cell as General or Number so the average speed displays numerically.

Solution 1Recommended

Use a Combined Date-Time Subtraction Formula

Best when the start and end are already entered as complete date-time values in single cells.

WPS Office Spreadsheets stores dates and times as serial numbers, so subtracting two date-time values gives elapsed days. Multiplying by 24 converts that result to hours.

1
Enter start and end date-time values

Type the starting date and time in one cell, such as A2, and the ending date and time in another cell, such as B2. Use a format like mm/dd/yyyy hh:mm AM/PM so WPS Office recognizes both parts.

2
Enter distance and the elapsed-time formula

In cell C2 enter the distance, for example 150. In cell D2 enter the formula =C2/((B2-A2)*24) and press Enter.

3
Check the number format

Select the formula cell, press Ctrl+1, and set the format to General or Number. If it shows a date or time, change it to Number to display the average speed correctly.

Use a Combined Date-Time Subtraction Formula
Result in units per hour: If distance is in miles or kilometers, the result is average speed in miles per hour or kilometers per hour.
WPS Spreadsheets formula solution

Calculate Multi-Day Average Speed in WPS Office Spreadsheets Without Extra Tools

Use WPS Office Spreadsheets to combine start and end date-time values, subtract them, convert the result to hours, and divide distance by elapsed hours. The same Excel-compatible date/time engine handles .xlsx files and cross-day calculations accurately.

  1. 1. Open WPS Office Spreadsheets: Launch WPS Office, click Spreadsheets, then open your workbook or create a new blank sheet.
  2. 2. Enter the trip values: Type the start date-time in one cell, such as A2, the end date-time in B2, and the distance in C2. Use a recognizable format like mm/dd/yyyy hh:mm AM/PM.
  3. 3. Apply the multi-day average speed formula: In cell D2, enter =C2/((B2-A2)*24) and press Enter to calculate the result.
  4. 4. Format the result: Select cell D2, press Ctrl+1, choose Number or General, and set the desired decimal places.
  5. 5. Save or share in Excel format: Click Menu, choose Save As, and select Excel Workbook (*.xlsx) to preserve formulas for Microsoft Excel users.
Accurate multi-day date-time subtraction using Excel-compatible serial numbersOpens and saves .xlsx and .xls files without losing formulasFree spreadsheet, document, and presentation tools in one suiteFamiliar Excel-like ribbon and functions for a smooth switchLightweight and works on Windows, macOS, Android, and iOS
QA img-9

Frequently Asked Questions

Why do I need to multiply elapsed days by 24?

WPS Office Spreadsheets stores date-time values as serial numbers in days. Subtracting start from end gives elapsed days, so multiplying by 24 converts the result to hours before dividing distance by elapsed time.

Can I calculate average speed when the time crosses midnight?

Yes. If the start and end cells include both the date and time, the subtraction automatically accounts for the day change and returns the correct elapsed time across multiple days.

What date-time format should I use for the start and end cells?

Use a recognizable date-time format such as mm/dd/yyyy hh:mm AM/PM for your region. The key is that WPS Office must treat the entry as a real date-time serial number, not as text.

How do I fix a result that shows 0:00 or a date instead of speed?

Select the formula cell, press Ctrl+1, and change the cell format to General or Number. Date or Time formatting hides the numeric speed value.

Does this formula work in Microsoft Excel?

Yes. The same date-time arithmetic works in Microsoft Excel because WPS Office Spreadsheets is compatible with Excel serial date values and .xlsx formulas.