+ Reply to Thread
Results 1 to 2 of 2

Pivot using negative Time possible??

  1. #1
    Registered User
    Join Date
    02-20-2019
    Location
    NWR
    MS-Off Ver
    Excel 2016
    Posts
    1

    Pivot using negative Time possible??

    Hi, I want to make a pivot chart from the following table:

    table.PNG

    But the negative Values show without a number:

    graph.PNG

    Any ideas what I can do?

    Thank you.

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

    Re: Pivot using negative Time possible??

    would the attached be of any help?

    effectively uses a calculated field in the Pivot to replace the source time field, converting hours to integers and handling minute remainder {decimal} on a base of 60

    Formula: copy to clipboard
    Please Login or Register  to view this content.

    you would then format this new field as Number (to 2dp) in resulting pivot/chart.

    the above effectively converts the real time values such that the hour value becomes an integer (e.g. 12:00 goes from 0.5 to 12.0), and converts minutes from their true decimal value to their relevant value on base 60, e.g.:

    - 12:30 * 24 --> -12.5 --> -12.30

    so, in effect you're losing the "real" time format by replacing the : with . but you gain the advantage of being able to display negatives.

    see attached for very basic illustration.
    Attached Files Attached Files

+ 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. [SOLVED] Convert negative time to negative decimal
    By Ogrid in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 08-22-2018, 02:46 PM
  2. Need a formula to change a negative time to negative decimal
    By Renejorgensen in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-12-2016, 11:51 AM
  3. error with time formatting for negative time
    By dan_fash in forum Excel General
    Replies: 1
    Last Post: 03-03-2015, 10:51 AM
  4. Replies: 8
    Last Post: 01-10-2014, 03:43 AM
  5. Replies: 6
    Last Post: 05-10-2012, 04:43 AM
  6. Negative time should be allowed in Excel, eg time difference
    By Bengt-Inge Larsson in forum Excel General
    Replies: 2
    Last Post: 10-13-2005, 08:05 AM

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