+ Reply to Thread
Results 1 to 2 of 2

Pivot Table Showing Time Incorrectly

  1. #1
    Registered User
    Join Date
    04-21-2010
    Location
    Boston, USA
    MS-Off Ver
    Excel 2013
    Posts
    5

    Pivot Table Showing Time Incorrectly

    Hello,

    I'm having a problem with a pivot table which is completely baffling me. I have data which I'm looking to use a Pivot Table to allow me to quickly filter and use for calculations. One of the columns my data has is a datetime value on 15 minute intervals. If I use the this datetime value (in the Time column), my pivot table works exactly as I want.

    pivot.png

    However, the problem arises because some of my data (not included in the attached file) is not from the same date as the other data. Therefore, I want to be able to basically scrub out the date and just have time (eg so that 7:00 AM on 12/1 would be counted the same as 7:00 AM on 12/2). To do that, I added a column (Period) which calcs a time value from the Time column. But now when I add Period as my Rows, Excel combines all the data based solely on the minute value, so I end up with four categories, ":00", ":15", ":30", and ":45". I don't seem to be able to reformat these numbers (ie if I set it to Number it still just shows ":00") and I cannot figure out why Excel is formatting this way.

    Apologies for the large attached file.
    Attached Files Attached Files
    Last edited by King of Ka; 12-16-2019 at 12:49 PM.

  2. #2
    Forum Expert XLent's Avatar
    Join Date
    10-13-2010
    Location
    Northumberland, UK
    MS-Off Ver
    various
    Posts
    2,704

    Re: Pivot Table Showing Time Incorrectly

    when you add the Period field the Pivot is grouping -- if you right click and ungroup you will get your time values.

    so, further to the above, pending your own personal preference (and PT layout) you could dispense with "Period" field and right-click Group your "Time" field by Hours & Minutes.

+ 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. Separating date and hours using pivot table and showing time hourly
    By snkhan in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 09-20-2018, 10:35 AM
  2. Replies: 0
    Last Post: 09-03-2015, 07:31 AM
  3. VBA - Created Pivot Table - Filters Incorrectly
    By jhuang5132 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-13-2014, 05:02 PM
  4. Pivot table incorrectly summing & producing strange numbers (-2.66454E-15)
    By Brontosaurus in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-21-2013, 04:07 AM
  5. Pivot Table Calculating Incorrectly?
    By orcsab in forum Excel General
    Replies: 1
    Last Post: 03-16-2012, 02:09 AM
  6. Pivot Tables : Total Time incorrectly computed
    By François in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-08-2009, 06:28 AM
  7. Pivot Table Totals Incorrectly Summed
    By Ms MIS in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-12-2006, 01:30 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