Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default excel chart - absolute referencing????!

I have a form I created in VB and it facilitates data entry into a
spreadsheet. Once I fill out the textboxes and click ok, it inserts a new row
into the spreadhseet with the new info below the second row. So all the other
rows containing previously entered info move down. I need to make a chart
that graphs ONLY the most recently inserted rows content. I tried to turn
off absolute referencing in the Data series tab, but every time a new row is
inserted the graph is not redrawn , because it keeps the formerly entered
info from the cells that were in the first row, but are now in the second row
....

I hope I was clear enough...

Anyone knows how to go about fixing this problem?!
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 235
Default excel chart - absolute referencing????!

Modifying your chart to use dynamic named ranges should solve the problem.
For example, assume your X-Axis lables are in the range A1:C1. Your data is
in the range A2:C2. Create a simple bar chart based on the range A1:C2.

In Excel 2003, assume your workbook is named "Test.xls" and you data is on
"Sheet1". Go to Insert - Name - Define.

First, create a named range called "Titles" on the range A1:C1. The formula
for that named range should look like this:

=Sheet1!$A$1:$C$1

Second, create another named range called "Data". The formula for that
named range should look like this:

=OFFSET(Titles,1,0,1,3)

Now go to your chart. In the Source Data dialog box, enter the following as
the source for the data series values:

=Test.xls!Data

For more information, Jon Peltier provides a series of resources on dynamic
charting via this link below:

http://peltiertech.com/Excel/Charts/...hartLinks.html

--
John Mansfield
http://cellmatrix.net





"Red_Star20" wrote:

I have a form I created in VB and it facilitates data entry into a
spreadsheet. Once I fill out the textboxes and click ok, it inserts a new row
into the spreadhseet with the new info below the second row. So all the other
rows containing previously entered info move down. I need to make a chart
that graphs ONLY the most recently inserted rows content. I tried to turn
off absolute referencing in the Data series tab, but every time a new row is
inserted the graph is not redrawn , because it keeps the formerly entered
info from the cells that were in the first row, but are now in the second row
...

I hope I was clear enough...

Anyone knows how to go about fixing this problem?!

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IF statements referencing an absolute value or a range of values skaminski Excel Worksheet Functions 6 April 4th 23 12:45 PM
Relative vs Absolute referencing of Workbooks Ronald Dodge Excel Worksheet Functions 4 September 26th 06 10:34 PM
Relative vs Absolute referencing of Workbooks Ronald Dodge Charts and Charting in Excel 4 September 26th 06 10:34 PM
Worksheet doesn't permit F4 absolute referencing tool in formulas ronthedog Excel Discussion (Misc queries) 0 August 22nd 05 01:15 PM
Creating a formula using absolute referencing - I think!! Victoria Excel Worksheet Functions 4 February 26th 05 08:13 PM


All times are GMT +1. The time now is 10:35 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"