Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 91
  • Last Modified:

Excel Chart Help

I have spreadsheet with a lot of data on it, and I need to create a chart for each line of data. Is there anyway I can select all the data and have it create 148 different charts or will I have to go line by line? I'm just looking for any quicker way than going line by line and creating a line chart. Attached is an example of the spreadsheet.
Screen-Shot-2015-01-15-at-10.06.03-PM.pn
0
ryangrippo
Asked:
ryangrippo
  • 4
  • 4
  • 2
  • +1
1 Solution
 
Mark BullockQA Engineer IIICommented:
Can you use a Sparkline? After creating the first one you can copy & paste to other cells.

https://support.office.com/en-gb/article/Use-sparklines-to-show-data-trends-1474e169-008c-4783-926b-5c60e620f5ca
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
Hello,

from your screenshot I can see that you are using a Mac. It is always helpful to know what platform and version you are using. Excel for Mac 2008 does not support VBA, so automation is not an option.

What version are you using?

cheers, teylyn
0
 
ryangrippoAuthor Commented:
I am using Excel 2011 on a Mac. Is there anything else I can do to expedite the process other than doing it manually?
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
Mark BullockQA Engineer IIICommented:
For the sparkline, you can copy it from one cell, select all of the destination cells, then paste.
0
 
ryangrippoAuthor Commented:
RE: Sparkline - That does work, but I actually need to make them into charts because I have to export each chart into Word and write an analysis on it. So unless there is a way to do that with sparkline, I don't think that would work in this situation though. However, that is a useful tool thank you for your answer!
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
You can use VBA to loop through a list and create a chart for each row of the list.

The screenshot does not help much. Please post an Excel file with a data sample (a dozen rows will be sufficient, don't post all your data) that has the same structure, i.e. sheet names, location of data, etc.

Manually create one sample chart, so we know what to aim for.

Post that file and VBA for that can be created.
0
 
ryangrippoAuthor Commented:
Attached is the full document. Could you walk me through how to do it?
PER-Number-Atlantic-and-Pacific.xlsx
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
And the sample chart? If you want code to mass produce charts, please post one chart that you have manually created that looks like the desired output. Chart type, title, legend, colors, axes, labels. What do you want?

Also, please don't let us drag each piece of information out of you.

I see that some rows have more data than others. How do you want that handled?

The coding is the simple bit. But you need to make the decisions and give precise instructions.   We cannot read your mind.

 How about creating a single chart and using a drop down to select the row of data to plot? That would be easier than code to create 148 charts and you would have the possibility to add more data to the source table, like row 149, row 150 etc, without having to re-run the code that creates the charts.
0
 
ryangrippoAuthor Commented:
Attached is an updated version with the chart for the first player made. I need to take each chart, paste it onto a word document, and write an analysis of the player. It is fine if some rows have more data than others, because some years can be blank.
PER-Number-Atlantic-and-Pacific.xlsx
0
 
SimonCommented:
Hi, I provided a solution for this in your other question "Excel Charts".
0
 
Ingeborg Hawighorst (Microsoft MVP / EE MVE)Microsoft MVP ExcelCommented:
I've requested that this question be deleted for the following reason:

duplicate question
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 4
  • 4
  • 2
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now