?
Solved

How Can I Make a Graph in Excel Update it's Data Selection When I Add Rows?

Posted on 2013-06-13
4
Medium Priority
?
197 Views
Last Modified: 2013-06-20
I have a spreadsheet that is updated monthly with a new row for that month.

I have formulas that calculate various percentages etc..., so there are always a hundred rows or so of data (but not months), however, unless there is a month, and consequently data for the month, the formulas either give zeroes, or Div/Zero Errors

I have a set of graphs based on selected ranges of the formulas.

I would like the range to be a formula that detects the new row (month) and expands its graphic range to accomodate the new row.

Can somebody show me how to do that please? Thank you.

Rex
0
Comment
Question by:Rex85
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 10

Expert Comment

by:Gašper Kamenšek
ID: 39245801
You transform your data into an Excel Table (Home/Format as table)

Now you create a Chart based on that table and it will update automatically

Have a nice day...
0
 
LVL 10

Accepted Solution

by:
Gašper Kamenšek earned 2000 total points
ID: 39245822
Here's an example, try adding columns and rows...
Sample.xlsx
0
 
LVL 14

Expert Comment

by:frankhelk
ID: 39246945
I presume your data is already in Excel ...

1st option:
Try to use entire columns as data source instead of a rectanguar area. Empty rows won't create graph elements. That way you can enter as much data as needed w/o the need to correct the data area.

2nd option:
Use named areas for the data, and leave 1 empty row at the end. A frame around the area would be helpful. When inserting new data, set the selection on that last, empty row and insert a new row above. The named areas would grow in sync.

See attached example ...

With both options you should keep your data without empty rows in between, because Excel won't draw a line from one point to another if there's an empty row between 'em in the data.
Sample.xlsx
0
 

Author Closing Comment

by:Rex85
ID: 39264018
Sorry fo the delay. That's what I was looking for. Thanks.

Rex
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial explains how to create a series of drop-down lists that are dependent upon prior selections to guide (“force”) the user to make the correct selection and reduce data errors within Microsoft Excel. Excel 2010 was used for this tutorial;…
Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Microsoft Excel how to add style and sexy appeal to horizontal bar charts.

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question