Excel 2010 How to make multiple scatter charts from same data - excel

Have a data set from which I need to make several scatter plots (date vs. value). Each charts is different, based on different filters. To make one chart, I can filter my data, and then chart it. But if I change the filter, the chart changes. So I can't make any more charts, unless I make a copy of the data. Is there a way to make multiple charts from the same data set without making a copy of the data set for each chart? Pivot table/charts won't help me because I am making scatter plots. I don't want to summarize anything by date, for instance. I could have multiple events on the same date, and I don't want excel grouping them together.

Have you tried using multiple data regions? See the following link: http://technet.microsoft.com/en-us/library/dd220577.aspx
I found it very helpful.
You can also write a code in VBA that will allow you to create multiple charts using different data points. An example of this code can be found here: http://www.ozgrid.com/forum/showthread.php?t=53320
Good luck!

Related

Pivot chart (Excel) fails to render the data the way I want

I'm creating a piece of Java code to fill data into an excel file. The file is pre-created, inlcuding a pivot chart and some vba code.
Though the java code works, I have some problems getting the pivot chart itself to work. I've included a screenshot with some demodata.
There are several Problems I'd like to solve:
The X-Achis seems to behave like a category-axis, though it is formatted as a date-axis.
Symptoms:
Dates are not ordered automatically, but only if I order the according column in the pivot-table
All dates have the same distance, though there is a gap of 1.5 years in the data
The chartline of cathy has a gap. But i do want the line rendered, even if there are dates without data for cathy
Am I using the wrong chart, did I miss the an important checkbox in the chart options or do I really have to interpolate the data programmatically for every day before filling it into the table?
The last option would be not only be disappointing, but also distort the chart since I want to have the datapoints marked with symbols (like the squares and diamonds on the screenshot)
Any help is appreciated.
Edit
By now this is my solution:
First of all: pivot charts are great, unless you want to visualize randomly ordered dates
I'm going to copy the pivot-data via vba into another sheet and use a regular chart
Gaps in the chartline can be avoided by using a point-diagram (X/Y-data) and selecting "connect datapoints with line" in the Dialog in "datasource > hidden and empty cells" (roughly translated from the german locale)
The vba-code will be extended to set up the diagram to my needs (adjusting range of input data and so on)
Still I'm kind of disappointed. I would have thought this was a usual usecase.
I set up trial workbook.
I based a line chart on a range of data that had a column of dates.
It was NOT pivot chart, just an ordinary one
When I went to the x-axis formatting options and chose "Date axis" I was presented with choices about how to span the dates out (to do what you want).
When I created a chart based on a pivot table using the same data, the x-axis formatting options did not give me the same choices
It would seem that pivot charts do not allow dates to be spanned out.
So you might like to consider basing your chart on a range of data not a pivot table.
I also found this useful page, all about this sort of thing:
here
Harvey

Unlink chart from excel and keep data editable?

for the longest of times I've been trying to achieve this to no avail. It seems like it should be a common problem but still I haven't been able find an answer. What I want to do is:
Have a chart in Excel and/or Powerpoint.
Copy this chart as a chart object into PPT.
Keep all characteristics of the original chart but maintain it editable (i.e. - add/remove axes, data labels etc)
Break the link to the original chart/workbook but keep the data editable. I.e., I want a new excel sheet opened when I want to edit the data, just like it works if I create a new chart object.
Preferably, I would like to convert the data of the original to this new chart sheet but this is not of really high importance.
Basically, I want to be able to use graphs as templates for a new graph without editing the original data. Please help!
PS. I didn't include any code as most of the code I've tried has tried to achieve something else. I mostly want to know if this is even possible to do (it should be!)?

Splitting a pivotchart from power pivot into multiple charts

I have a pivot chart that tracks resource allocations based on a few filters. I would like to split the chart into multiple charts. In the picture, I want one chart for each line. I can do this manually (one chart for each resource) but that's not ideal because I only want to see certain charts based on the filters, and the data will change frequently.
Thanks in advance for help.
reference - http://imgur.com/vZJEHGM
Blake, unfortunately, this is not possible. Chart based on (power)pivot table is always linked and if you update the pivot table, you will see the change instantly happen to the chart as well.
What I would suggest is to create four (or more) different pivots and then four (or more) linked pivot-based charts.
If there is any filter that needs to be used in all of the pivot tables, you can then use slicers which can be linked to more than 1 pivot table.
Hope this helps :)

Create Multiple 'PivotCharts' on One 'PivotTable'

Within my Excel Spreadsheet I have a PivotTable which is based on data retrieved from a SQL query.
The PivotTable is made up of a series of customers, each with their own stock value.
I made a PivotChart, but as there are many customers, the lines on the Chart are unreadable.
I want to make an individual chart for each customer, however when I filter on one customer, every chart filters on that customer - not allowing me to do one chart for each
Is there a way around this?
After investigation, adding more than one PivotChart distorted the layout of the underlying data.
Therefore it is necessary to read the same data into the Excel spreadsheet twice to have a second PivotChart.

creating a series of MS Excel graphs with identical properties for a series of tables with different data but same data types

I have a series of table in Excel worksheets, all of them holds same data types, one table for one item, and how some values changed over time in each table column.
I want to create a excel graph/chart for each of this table, with same formatting, only the data should be different.
When I copy each from single graph to create many, the table link doesn't change and I have to do that manually, which is difficult because there are number of tables.
Is there any better solution? Thank you
The dirtiest solution is to simply use VBA to automate these changes.
I finally copied and pasted the same graphs for each table, undo the old links and linked each table separately. I was looking for a easier way than this because even this is difficult with number of tables increasing. Thank you.

Resources