If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Charts which automatically adapt to variable source data length
I create a line chart with X-Y data in Cells A1:B100, but since I am
importing electronic data sometime I only have 50 rows of data (Cells A1:B50) which leaves a lot of unused chart space. Can I create a chart which automatically adapts its source data reference to the number of rows of real data (Cells A1:B50) in the specified source data interval (Cells A1:B100)? Conceptually, I could construct a formula in the chart source data fields such as: =A1:address(Count(A1:A100),1). This would count up the number of rows of real data in column "A" and with the address function generate a cell address for the last cell of real data "A50" creating the source data address =A1:A50. Unfortunally I cant get the program to accept any functions in the chart source data fields. Any suggestions would be appreciated!! |
#2
|
|||
|
|||
Hi,
You need to create a dynamic named range upon which you can chart. Check out Jon's example http://peltiertech.com/Excel/Charts/Dynamics.html Cheers Andy Excel Engineer wrote: I create a line chart with X-Y data in Cells A1:B100, but since I am importing electronic data sometime I only have 50 rows of data (Cells A1:B50) which leaves a lot of unused chart space. Can I create a chart which automatically adapts its source data reference to the number of rows of real data (Cells A1:B50) in the specified source data interval (Cells A1:B100)? Conceptually, I could construct a formula in the chart source data fields such as: =A1:address(Count(A1:A100),1). This would count up the number of rows of real data in column "A" and with the address function generate a cell address for the last cell of real data "A50" creating the source data address =A1:A50. Unfortunally I cant get the program to accept any functions in the chart source data fields. Any suggestions would be appreciated!! -- Andy Pope, Microsoft MVP - Excel http://www.andypope.info |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Update Charts with Data Automatically | Jon Peltier | Charts and Charting | 1 | March 30th, 2004 10:33 AM |
chart with changing data source interactive chart | Feketik | Charts and Charting | 0 | March 18th, 2004 04:34 PM |
Source Data Ranges in Charts | Tushar Mehta | Charts and Charting | 0 | November 30th, 2003 03:29 PM |
Automatically create charts from data table - help needed | Gordon | Charts and Charting | 1 | October 20th, 2003 05:49 PM |
Creating a large number of charts automatically (repost) | Francine Kubaka | Charts and Charting | 0 | September 21st, 2003 09:16 PM |