• Skip to main content
  • Skip to header right navigation
  • Skip to site footer

My Online Training Hub

Learn Dashboards, Excel, Power BI, Power Query, Power Pivot

  • Courses
  • Pricing
    • Free Courses
    • Power BI Course
    • Excel Power Query Course
    • Power Pivot and DAX Course
    • Excel Dashboard Course
    • Excel PivotTable Course – Quick Start
    • Advanced Excel Formulas Course
    • Excel Expert Advanced Excel Training
    • Excel Tables Course
    • Excel, Word, Outlook
    • Financial Modelling Course
    • Excel PivotTable Course
    • Excel for Customer Service Professionals
    • Excel for Operations Management Course
    • Excel for Decision Making Under Uncertainty Course
    • Excel for Finance Course
    • Excel Analysis ToolPak Course
    • Multi-User Pricing
  • Resources
    • Free Downloads
    • Excel Functions Explained
    • Excel Formulas
    • Excel Add-ins
    • IF Function
      • Excel IF Statement Explained
      • Excel IF AND OR Functions
      • IF Formula Builder
    • Time & Dates in Excel
      • Excel Date & Time
      • Calculating Time in Excel
      • Excel Time Calculation Tricks
      • Excel Date and Time Formatting
    • Excel Keyboard Shortcuts
    • Excel Custom Number Format Guide
    • Pivot Tables Guide
    • VLOOKUP Guide
    • ALT Codes
    • Excel VBA & Macros
    • Excel User Forms
    • VBA String Functions
  • Members
    • Login
  • Blog
  • Excel Webinars
  • Excel Forum
    • Register as Forum Member

Sum hours, minutes, seconds with pivot table|Power Pivot|Excel Forum|My Online Training Hub

You are here: Home / Sum hours, minutes, seconds with pivot table|Power Pivot|Excel Forum|My Online Training Hub

vba course banner

Avatar
sp_LogInOut Log In sp_Registration Register
sp_Search Search
Advanced Search
Search
Forum Scope




Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Search Search
sp_RankInfo
Lost password?
sp_CrumbsHome HomeExcel ForumPower PivotSum hours, minutes, seconds with pi…
sp_PrintTopic sp_TopicIcon
Sum hours, minutes, seconds with pivot table
Avatar
James Lanceley
Member
Members

Dashboards

Power Query

Power Pivot

Power BI
Level 0
Forum Posts: 10
Member Since:
February 6, 2022
sp_UserOfflineSmall Offline
1
June 1, 2022 - 6:18 pm
sp_Permalink sp_Print

Hi, i would appreciate any advice on how to sum time values in a pivot table.  These time values represent the duration that a student has spent reading books.

Data table name = "DataTable" on the worksheet labelled "ReadingLog"

- The values range from 00:00:00 through to values in excess of 24 hours and they are formatted HH:MM:SS

 

Pivot table name = "pivotHours" on the worksheet labelled "Hours"

- When i bring the Time Spent field into the values section, all of them are 00:00:00

 

I've tried many different time formats but just seem to get any to work.

Thank you in advance.

James

sp_AnswersTopicSeeAnswer See Answer
Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 490
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
2
June 1, 2022 - 7:58 pm
sp_Permalink sp_Print

Would be helpful if you could upload an example file. Otherwise, make sure that you custom format the cells with time spent on reading as [hh]:mm:ss

The square brackets surrounding the hh turn the values from a regular Time to a Duration and allow you to go beyond 24 hours.

Avatar
James Lanceley
Member
Members

Dashboards

Power Query

Power Pivot

Power BI
Level 0
Forum Posts: 10
Member Since:
February 6, 2022
sp_UserOfflineSmall Offline
3
June 2, 2022 - 1:19 am
sp_Permalink sp_Print

Hi Riny, my apologies - see attached (kutubee.xlsx).

fyi I'm using MS Excel 365 on Windows

I've applied the formatting and then refreshed the data but no joy Frown

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 490
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
4
June 2, 2022 - 2:03 am
sp_Permalink sp_Print sp_EditHistory

The "time" values in ReadingLog column F were in fact texts. I used Text-to-columns to transform them to real time values and refreshed the pivot table. It seems to work. See attached.

sp_AnswersTopicAnswer
Answers Post
Avatar
James Lanceley
Member
Members

Dashboards

Power Query

Power Pivot

Power BI
Level 0
Forum Posts: 10
Member Since:
February 6, 2022
sp_UserOfflineSmall Offline
5
June 2, 2022 - 8:48 pm
sp_Permalink sp_Print

Thank you Riny, appreciated Smile

Avatar
Riny van Eekelen
Örnsköldsvik, Sweden
Moderator
Members


Trusted Members

Moderators

Power BI
Level 0
Forum Posts: 490
Member Since:
January 31, 2022
sp_UserOfflineSmall Offline
6
June 2, 2022 - 9:00 pm
sp_Permalink sp_Print

Glad I could help!

sp_Feed
Go to top
Forum Timezone: Australia/Brisbane
Most Users Ever Online: 245
Currently Online: Vishal Nevase, John Kobiela, Sue Hammond, Malcolm Sawyer
Guest(s) 7
Currently Browsing this Page:
1 Guest(s)
Top Posters:
SunnyKow: 1432
Anders Sehlstedt: 873
Purfleet: 414
Frans Visser: 346
David_Ng: 306
lea cohen: 222
Jessica Stewart: 216
A.Maurizio: 202
Aye Mu: 201
jaryszek: 183
Newest Members:
Melanie Ford
Isaac Felbah
Adele Glover
Hitesh Asrani
Rohan Abraham
Anthony van Riessen
Erlinda Eloriaga
Abisola Ogundele
MARTYN STERRY
Rahim Lakhani
Forum Stats:
Groups: 3
Forums: 24
Topics: 6356
Posts: 27793

 

Member Stats:
Guest Posters: 49
Members: 32324
Moderators: 3
Admins: 4
Administrators: Mynda Treacy, Philip Treacy, Catalin Bombea, FT
Moderators: MOTH Support, Velouria, Riny van Eekelen
© Simple:Press —sp_Information

Sidebar

Blog Categories

  • Excel
  • Excel Charts
  • Excel Dashboard
  • Excel Formulas
  • Excel PivotTables
  • Excel Shortcuts
  • Excel VBA
  • General Tips
  • Online Training
  • Outlook
  • Power Apps
  • Power Automate
  • Power BI
  • Power Pivot
  • Power Query
microsoft mvp logo
trustpilot excellent rating
Secured by Sucuri Badge
MyOnlineTrainingHub on YouTube Mynda Treacy on Linked In Mynda Treacy on Instagram Mynda Treacy on Twitter Mynda Treacy on Pinterest MyOnlineTrainingHub on Facebook
 

Company

  • About My Online Training Hub
  • Disclosure Statement
  • Frequently Asked Questions
  • Guarantee
  • Privacy Policy
  • Terms & Conditions
  • Testimonials
  • Become an Affiliate

Support

  • Contact
  • Forum
  • Helpdesk - For Technical Issues

Copyright © 2023 · My Online Training Hub · All Rights Reserved. Microsoft and the Microsoft Office logo are trademarks or registered trademarks of Microsoft Corporation in the United States and/or other countries. Product names, logos, brands, and other trademarks featured or referred to within this website are the property of their respective trademark holders.