Excel for Maritime & logistics

Review port turnaround, cargo totals and delivery performance.

Measure time alongside

Calculate how long a vessel occupied a berth across midnight.

Example data

Enter =DATE(2026,12,1)+TIME(18,30,0) in A2 and =DATE(2026,12,2)+TIME(8,0,0) in B2. Use the same time zone.

=ROUND((B2-A2)*24,1)

Excel stores times as fractions of a day. Multiply the date-time difference by 24 to get hours.

Result 13.5 hours

Total cargo by discharge port

Tally tonnes for one destination across the stowage summary.

Example data

Enter Singapore, Busan, Singapore, Rotterdam in A2:A5 and tonnes 80, 120, 45, 70 in B2:B5.

=SUMIF(A2:A5,"Singapore",B2:B5)

The matching port appears twice. SUMIF adds 80 t and 45 t.

Result 125 tonnes

Count deliveries made on time

Compare each delivery date to its own promised date.

Example data

For rows 2 to 4 enter promised dates 4, 7, 10 December 2026 in A and completed dates 3, 8, 10 December 2026 in B, as Excel dates.

=SUMPRODUCT(--(B2:B4<=A2:A4))

Use rows for completed deliveries only. The comparison counts early and same-day deliveries.

Result 2 of 3 deliveries

Search ExcelTutor