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
Solved

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

Posted on 2013-06-13
4
188 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
  • 2
4 Comments
 
LVL 10

Expert Comment

by:GasperK
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:
GasperK earned 500 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Approximate matching with VLOOKUP and MATCH seems to me to be a greatly under-used technique, and one which is vital for getting good performance out of large lookups. Until recently I would always have advised using an exact match for simplicity an…
This code takes an Excel list of URL’s and adds a header titled “URL List”. It then searches through all URL’s in column “A”, looking for duplicates. When a duplicate is found, it is moved to the top of the list. The duplicate URL’s are then highlig…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

790 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