+ Reply to Thread
Results 1 to 5 of 5

How to add target line to stacked column pivot chart chart

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    21

    How to add target line to stacked column pivot chart chart

    Hi All,

    I need to add target line to stacked column chart (it must be a pivot chart and not chart).
    for example a line at 5 at y-axis.
    i know i need to create a dummy series and change its type, but i can't figure the right way to do it

    any thoughts?

    thanks!

    Book1.xlsx

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

    Re: How to add target line to stacked column pivot chart chart

    Add a calculated item, with a fixed value, to the table.
    Change the chart type of series to line.
    Attached Files Attached Files
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    07-24-2013
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    21

    Re: How to add target line to stacked column pivot chart chart

    this is what i need, but when the data is updated the target line is back to stacked column type?
    what can be done?

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

    Re: How to add target line to stacked column pivot chart chart

    that will require code. Right click sheet tab > View Code. Paste the following.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    07-24-2013
    Location
    london
    MS-Off Ver
    Excel 2013
    Posts
    21

    Re: How to add target line to stacked column pivot chart chart

    thanks!
    got it!

+ 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] Add Target Line To Pivot Chart
    By Justair07 in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 08-26-2014, 07:38 AM
  2. VBA target line using pivot table bar chart
    By Turmoilz in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 04-28-2013, 05:44 AM
  3. stacked column with line chart?
    By surfengine in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 10-24-2007, 01:01 PM
  4. [SOLVED] How can I add a line chart in a stacked column chart style?
    By Guilherme Loretti in forum Excel General
    Replies: 0
    Last Post: 08-02-2006, 08:50 PM
  5. [SOLVED] Is it possible to have a Line - Stacked Column Chart?
    By GSchool in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 04-26-2006, 08:50 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