A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Use the time difference directly, then divide packages by hours.
Assume:
- Start time in A2
- End time in B2 (same day)
- Total packages in C2
- Calculate elapsed hours (as a decimal):
Make sure A2 and B2 are valid Excel times (e.g.,=(B2-A2)*248:00 AM,2:30 PM). - Calculate PPH (packages per hour):
=C2/((B2-A2)*24)
If B2 is earlier than A2, or either cell is text instead of a real time value, Excel will return errors. Both cells must be proper date/time values on the same day.
To display the elapsed time instead of decimal hours, you can also use:
=B2-A2
and format the result cell as h:mm or h:mm:ss as shown in the time-difference examples.
References: