Welcome to the Excel Forum

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.

Please Register to Remove these Ads

Please Register to Remove these Ads



Reply
  #1  
Old 06-30-2009, 05:22 PM
jonathant jonathant is offline
Registered User
 
Join Date: 30 Jun 2009
Location: Los Angeles, CA
MS Office Version:Excel 2003
Posts: 1
jonathant is becoming part of the community
Automatically update Graphs in Excel 2003

Please Register to Remove these Ads

How do I get a graph to automatically update when I enter new data (I am using Excel 2003)? I have seen how some people suggest naming ranges using the OFFSET function. However, this only appears to work when the data is listed vertically.

My data is listed horizontally - i.e. row B1 contains "November 2000," and each column contains another month up to CZ1 which contains "May 2009." This data is updating each month.

Morover, I have a line graph that tracks the sales of multiple items - ie rows 2 through 5 are apples, oranges, grapes, bananas. Each month, the sales of each of the four items are updated, and I would like my line graph to update automatically. Please help. Thank you.
Reply With Quote
  #2  
Old 06-30-2009, 07:39 PM
Chance2 Chance2 is offline
Forum Contributor
 
Join Date: 01 Apr 2009
Location: Irvine, CA
MS Office Version:Excel 2003
Posts: 160
Chance2 has an addiction to Excel
Re: Automatically update Graphs in Excel 2003

The named range with OFFSET is the way to go and depending on if you want to include all columns in your graph or the last x columns on your graph.

To include all use:

Code:
=OFFSET(Sheet1!$A$1,0,COUNT(Sheet1!$1:$1))
To include x (in this example last 3) use:

Code:
=OFFSET(Sheet1!$A$1,0,COUNT(Sheet1!$1:$1),1,-3)
I would use this as the named range for the xVal and you will need to create a named range for each series. the easiest way would be to offset from your xVal:

Code:
=OFFSET(xVal, 1, 0) 'ser1 
=OFFSET(xVal, 2, 0) 'ser2
=OFFSET(xVal, 3, 0) 'ser3
Reply With Quote


Reply

Bookmarks

Tags
autoupdate , excel 2003 , graph , graphs , offset


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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

Forum Jump