Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to add straight line from cell value in pivot table chart

How to add straight line from cell value in pivot table chart.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 162
Default How to add straight line from cell value in pivot table chart


"mehmood" wrote in message
How to add straight line from cell value in pivot table chart.


If the data is not likely to update and the chart won't change, simply add a
line from Insert/Shapes (select the chart fist). If you are familiar with
VBA you could make a macro to move the line if/as required when the data
changes (possible but complicated).

A Pivot chart can only display series from the pivot data, you could add an
extra column of data all with same values (an average or target perhaps), ie
where you want your line to appear. If you've got a bar chart, select the
extra series and "Change Chart Type" to a Line type.

Alternatively create a normal chart based on the pivot data and add an extra
series with equal values. Similarly change the chart type of the extra
series to a Line type.

For both approaches to add a Line series in the chart, the source cells for
the line could link to your single cell.

Regards,
Peter T



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2007 - Add straight line to chart QB Charts and Charting in Excel 3 April 3rd 23 07:34 PM
How to add straight line from cell value in pivot table chart. mehmood Excel Worksheet Functions 0 June 7th 14 08:31 AM
How do I fit a straight line to scatter diagram chart data StressedMentor Charts and Charting in Excel 1 October 27th 09 03:34 PM
Getting line on line chart to display after creation from Pivot Table dcsi_jim Charts and Charting in Excel 8 February 6th 07 08:54 PM
straight line connecting first and last point on a chart [email protected] Excel Programming 2 August 15th 06 08:36 AM


All times are GMT +1. The time now is 08:30 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"