+ Reply to Thread
Results 1 to 6 of 6

Calculating Time in Pivot

  1. #1
    Registered User
    Join Date
    11-09-2016
    Location
    UK
    MS-Off Ver
    365
    Posts
    85

    Calculating Time in Pivot

    Hi all,

    I have a list of data which includes names, tasks and duration of time spent on task.

    Eg.

    Joe Bloggs - Task 1 - 2 hrs
    Joe Bloggs - Task 1 - 1.5 hrs
    Joe Bloggs - Task 2 - 3 hrs
    Adam Smith - Task 1 - 1 hr
    Adam Smith - Task 2 - 3 hrs
    Adam Smith - Task 2 - 4 hrs
    etc

    There are multiple entries for each person and task as they carry out each task daily and I am looking at the month

    What I need to do is summarise the total time spent on each task by each person in the month

    I thought the best option was a pivot table but I'm having trouble summing the time

    I have tried formatting the duration column both before and after creating the pivot but can't get it to work

    Incidentally, in list format, if I add the durations eg. A1+B1 I get the correct answer. But if I try and sum eg. Sum(A1,B1) I just get 00:00:00?

    I have tried formatting with standard time and [HH]:mm

    any ideas? I know this should be a simple task and I'm probably missing something really obvious!!

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Calculating Time in Pivot

    You probably have text looking like time somewhere
    Please post a sample sheet with some data and expected results

  3. #3
    Registered User
    Join Date
    11-09-2016
    Location
    UK
    MS-Off Ver
    365
    Posts
    85

    Re: Calculating Time in Pivot

    Thanks, sample attached
    Attached Files Attached Files

  4. #4
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Calculating Time in Pivot

    Just select col D - Data tab - Text to columns - Click Finish(nothing else required) - All contents should have shifted right
    Now try your PT again

  5. #5
    Registered User
    Join Date
    11-09-2016
    Location
    UK
    MS-Off Ver
    365
    Posts
    85

    Re: Calculating Time in Pivot

    Thank you Pepe!! no idea how or why that worked but you've saved me tearing any more hair out!

  6. #6
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,445

    Re: Calculating Time in Pivot

    just watch out in the future : Left aligned = Text - Right aligned = number ( date and time are numbers to excel but shown in time/date format)
    and of course where no manual alignment is applied !

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 3
    Last Post: 08-05-2018, 02:23 PM
  2. Replies: 3
    Last Post: 08-12-2017, 01:48 AM
  3. [SOLVED] calculating specific data from a pivot table to create a pivot chart in Excel 2016
    By cinstanl in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 06-15-2016, 12:14 PM
  4. Replies: 3
    Last Post: 11-21-2012, 05:47 AM
  5. Formula for Calculating Paid Time Off for fiscal anniversary date real time
    By 168rockwood in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-07-2012, 04:15 PM
  6. [SOLVED] Calculating Fastest time in pivot table
    By Jonga21 in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 10-29-2012, 01:12 PM
  7. Calculating FTE in Time Sheet Pivot
    By markgok in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-03-2012, 04:49 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1