+ Reply to Thread
Results 1 to 6 of 6

I can't work out how to make a 'total' line in data table...anyone have any idea?

  1. #1
    Registered User
    Join Date
    12-06-2020
    Location
    brisbane, australia
    MS-Off Ver
    version 2002
    Posts
    3

    I can't work out how to make a 'total' line in data table...anyone have any idea?

    Capture.JPG

    I can't work out how to make a 'total' line in data table...anyone have any idea?

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,925

    Re: I can't work out how to make a 'total' line in data table...anyone have any idea?

    MS-Off Ver: x is not valid
    (How to) Upload a Workbook directly to the Forum
    (please do not post pictures or links to worksheets)
    • Click Advanced next to "Post Quick Reply" button at the bottom right of the editor box.
    • Scroll down until you see "Manage Attachments",
    • Click the "Choose" button at the upper left (upload from your computer).
    • Select your file, click "open", click "upload"
    • Once the upload is completed the file name will appear below the input boxes in this window.
    • Close the Attachment Manager window.
    • Click "Submit Reply"
    Note: Please do not attach password protected workbooks/worksheets
    Ensure to disable any Workbook Open/Autorun macros before attaching!
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    12-06-2020
    Location
    brisbane, australia
    MS-Off Ver
    version 2002
    Posts
    3

    Re: I can't work out how to make a 'total' line in data table...anyone have any idea?

    I can't upload the full workbook as it has sensitive info in it.

  4. #4
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: I can't work out how to make a 'total' line in data table...anyone have any idea?

    In order to appear in the data table of a chart it has to be a series in the chart.
    As you are using a 3d stacked column the total series will also have to be part of the stack.

    The data can be summed using a simple SUM formula

    The total series can be formatted to have no fill.
    You may also want to adjust the vertical axis Maximum to avoid too much space at the top of the chart.

    FYI - example workbooks do not need to contain you actual data. They only need some data that demonstrates the problem.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  5. #5
    Registered User
    Join Date
    12-06-2020
    Location
    brisbane, australia
    MS-Off Ver
    version 2002
    Posts
    3

    Re: I can't work out how to make a 'total' line in data table...anyone have any idea?

    Thanks mate, Yes I have seen this option however, if I do this the 'totals' line will be at the top of the data table, if I move the 'totals' line to the bottom of data table, it also moves the totals 'un-filled' bar to bottom of stacked bar which leaves an awkward gap between bottom of horizontal axis and start of stacked bar.

  6. #6
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,480

    Re: I can't work out how to make a 'total' line in data table...anyone have any idea?

    For the total to be at the bottom of the stack it needs to be a negative value.
    You can use a custom number format to remove the negative sign
    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] Can't make Line Continuation work in Nested IF AND statement
    By TrueFangz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-30-2018, 07:42 PM
  2. want idea to how can make this in userform with database for lot of thousthand data
    By mazan2010 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-03-2017, 02:32 AM
  3. Any idea to make this code work faster ( copy and paste data )
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-25-2017, 03:33 AM
  4. [SOLVED] Anz idea how to make this code work in 2007
    By jj4jj in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-27-2016, 06:33 AM
  5. Replies: 2
    Last Post: 11-14-2012, 08:59 AM
  6. Replies: 3
    Last Post: 06-27-2012, 02:58 PM
  7. Using Range - any idea why this line doesn't work?
    By sandant in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2011, 04:51 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