Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / November 2007

Tip: Looking for answers? Try searching our database.

Dynamic Charting - offset forumla?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marlene.Sawhney@gmail.com - 08 Nov 2007 17:16 GMT
Hello Everyone,

I know there are a plethora of dynamic charting posts, but I have a
question that I don't see an answer for. I need the data to update on
a daily basis as new data is added. I have to do this for 50 different
graphs so an easy way to do this would be excellent!

I have the following spreadsheet:

Col(A)      Col(B)          Col(C)          Col(D)
Date       Nov 1, 2007  Nov 2, 2007   Nov 3, 2007  .....and so forth
Spread    10               20
30.....................and so forth

As you can see the dates move to the right, across rows. I have used
the following offset/

Nonetheless, I have created name ranges, but i think the offset
formulas is what I'm getting wrong:

For Date I have the following formula: =OFFSET(Sheet1!$A
$1,0,0,COUNTA(Sheet1!$1:$1)-1)
For Spread I have the following forumla: =OFFSET(Sheet1!$A
$2,0,0,COUNTA(Sheet1!$2:$2)-1)

I know this is wrong, but I'm not sure how to change the formula to
reflect the fact that my data is going across columns not rows.  Any
help would be great!
Brian Withun - 08 Nov 2007 18:42 GMT
On Nov 8, 12:16 pm, "Marlene.Sawh...@gmail.com"
<Marlene.Sawh...@gmail.com> wrote:
> Hello Everyone,
>
[quoted text clipped - 24 lines]
> reflect the fact that my data is going across columns not rows.  Any
> help would be great!

=OFFSET(Sheet1!$B$1,0,0,1,COUNTA(Sheet1!$1:$1)-1)
This formula will define the range $B$1:$D$1, your three dates.

=OFFSET(Sheet1!$B$2,0,0,1,COUNTA(Sheet1!$2:$2)-1)
This formula will define the range $B$2:$D$2, your three numbers.

It looks like you had omitted the 5th argument to OFFSET().  You were
supplying COUNTA() as the 'height', not the 'width' parameter.  I have
added in a height of 1 in my formulas above.

Brian Herbert Withun
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.