Pivot table with times

SandsB

Well-known Member
Joined
Feb 13, 2007
Messages
731
Office Version
  1. 365
Platform
  1. Windows
My data file has a rows with EmployeeName, Function, Time. Each employee might have one to 5 rows, 1 for each of the 5 functions. I was to make a report that has a row as a header with the Function and then in rows you'd see the EmployeeName and in the columns to the right see the Time the employee spent in each function.

Seems to me I could do this as a Pivot Table. But Time when I put Time in the values area (bottom right) it shows up as just a number 1 because it's the count and each employee only has 1 row of data for each function. OK, fine - I'll change the field setting to Sum. Since there's only 1 value the sum will be the same as the time value. Nope - it displays a 0. Same for Max and Min.

The format of the raw data shows the column with the Time as General. I tried changing that - it laughed at me.

This has got to be possible - just don't see what stupid thing I'm doing wrong.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
The Time "value" you have is apparently a text string, hence the laughing.
You probably need to utilize the function TIMEVALUE....
 
Upvote 0

Forum statistics

Threads
1,223,929
Messages
6,175,447
Members
452,642
Latest member
acarrigan

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