Pivot: Min/Max of time - How to calculate amount of time between those two values?

Darkzler

New Member
Joined
Sep 25, 2015
Messages
26
Office Version
  1. 365
Platform
  1. Windows
Hi all,

I got this setup but can't figure out how to get the total amount of time from column C to column D.

[TABLE="width: 414"]
<colgroup><col><col><col><col></colgroup><tbody>[TR]
[TD]Row Labels[/TD]
[TD]Count of Shipment[/TD]
[TD]Min of Tid[/TD]
[TD]Max of Tid[/TD]
[/TR]
[TR]
[TD]Person A[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Trp2[/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]10:48:00[/TD]
[TD="align: right"]10:48:00[/TD]
[/TR]
[TR]
[TD]Trp3[/TD]
[TD="align: right"]4[/TD]
[TD="align: right"]12:29:00[/TD]
[TD="align: right"]16:52:00[/TD]
[/TR]
[TR]
[TD]Trp4[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]09:14:00[/TD]
[TD="align: right"]16:45:00[/TD]
[/TR]
[TR]
[TD]Trp1[/TD]
[TD="align: right"]7[/TD]
[TD="align: right"]09:24:00[/TD]
[TD="align: right"]16:44:00[/TD]
[/TR]
[TR]
[TD]Person B[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]Trp5[/TD]
[TD="align: right"]15[/TD]
[TD="align: right"]08:46:00[/TD]
[TD="align: right"]11:42:00[/TD]
[/TR]
[TR]
[TD]Trp6[/TD]
[TD="align: right"]26[/TD]
[TD="align: right"]09:22:00[/TD]
[TD="align: right"]13:32:00[/TD]
[/TR]
[TR]
[TD]Trp7[/TD]
[TD="align: right"]18[/TD]
[TD="align: right"]09:23:00[/TD]
[TD="align: right"]12:04:00
[/TD]
[/TR]
</tbody>[/TABLE]


When I try to enter a calculated item it just says: "Multiple data fields of the same field are not supported when a PivotTable report has calculated items."

Any suggestions on how I get the difference between Max of Tid and Min of Tid?
 

Excel Facts

What did Pito Salas invent?
Pito Salas, working for Lotus, popularized what would become to be pivot tables. It was released as Lotus Improv in 1989.
Hi Oldbrewer,

That is my current solution but this pivot table will grow for each day that goes and to manually adjust this is a step I really try to avoid.
 
Upvote 0
the helper column can be 10000 rows deep - it will only pick up your min and max values - that is the point of error trapping out blanks and grand totals
 
Upvote 0

Forum statistics

Threads
1,223,246
Messages
6,170,999
Members
452,373
Latest member
TimReeks

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top