Excel, Pivot table and total time formatting

QMYork

New Member
Joined
Nov 29, 2021
Messages
3
Office Version
  1. 2016
Platform
  1. Windows
I am working a with a large spreadsheet that deals with elapsed or total time (e.g., 2:45:30 means 2 hours 45 minutes and 30 seconds NOT the actual time of day; 2:45 and 30 seconds AM) My column is formatted for TOTAL time but when I create a pivot table (PT) from the data the formatting is automatically changed to the time of day format where 1:30 is considered to be 30 minutes after 1 am. I can't get the correct formatting to transfer to the PT nor can I reformat the data in the PT.



Any thoughts?

Advice?

Tips?
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.
Maybe like this?
1638299967260.png
 
Upvote 0
Solution
Perfect! That did the trick. I didn't realise I could format the PT different from the original data source.

I also realised I had the "Value field settings" - see image - wrong. When I switched it to "sum" from "count" I was getting more of what I was looking for.
My next quest will be to learn how to "round" the the time. 30 seconds or more pushes the minutes up by one. 30 minutes or more pushes the hour up one...
Capture 2.JPG
 
Upvote 0
You may try ceiling function in combination with time function.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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