PC Review


Reply
Thread Tools Rate Thread

dynamic charts using named formulas

 
 
R.VENKATARAMAN
Guest
Posts: n/a
 
      7th May 2004
I have dates in the first row
I have values in the second row
I use tecnique of named formuls of offset function (tushar Methta) so that
the chart is updated when data for new dates are added.
now after some time I want to delete the older data
If I delete the columns of older dates the named formula get messed up and I
get error message that three is some wrong reference. actulally in the
offset formula the starting cell is relaced by "REF"
Then I have to redo the whole exercise
any solutions.


 
Reply With Quote
 
 
 
 
Tushar Mehta
Guest
Posts: n/a
 
      11th May 2004
If the first row is some sort of header that doesn't get deleted, use
it as the base cell in the OFFSET function. So, if B1 is a header and
you wish to plot the contents of column B, use
YVals =OFFSET(Sheet1!$B$1,1,0,COUNTA(Sheet1!$B:$B)-1,1)

If not, use the INDIRECT function. To refer to column B use
YVals =OFFSET(INDIRECT("sheet1!b1"),0,0,COUNTA(Sheet1!$B:$B),1)

The big downside is the need to add the worksheet name.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article <#(E-Mail Removed)>, $$$$vram26@vsnl
says...
> I have dates in the first row
> I have values in the second row
> I use tecnique of named formuls of offset function (tushar Methta) so that
> the chart is updated when data for new dates are added.
> now after some time I want to delete the older data
> If I delete the columns of older dates the named formula get messed up and I
> get error message that three is some wrong reference. actulally in the
> offset formula the starting cell is relaced by "REF"
> Then I have to redo the whole exercise
> any solutions.
>
>
>

 
Reply With Quote
 
R.VENKATARAMAN
Guest
Posts: n/a
 
      11th May 2004
unfortunately for me the first row which is of course a header also gets
deleted
my firstr row is dates --. 1 apr, 2 apr etc. my second, third etc rows are
data for each item (in my case mutual funds). I dont want to have the
graphs for the whole year
when after a few days in May I would like to remove the april data and have
the chart only for May. In the circumstances I believe only your valuable
suggestion of using indirect function will be useful with slight
modification for row-wise data. .Or I should use A1 as thebase cell for
offset provided I dont delete col A or row 1. I have already tried indirect
function and it is ok. thanks for the valuable suggestion
Only thing is I have not yet completely undersood all the potentialities of
Indirect function. I need to further study.
===================================


Tushar Mehta <(E-Mail Removed)> wrote in message
news:MPG.1b09b3cfac8903d29897a8@news-server...
> If the first row is some sort of header that doesn't get deleted, use
> it as the base cell in the OFFSET function. So, if B1 is a header and
> you wish to plot the contents of column B, use
> YVals =OFFSET(Sheet1!$B$1,1,0,COUNTA(Sheet1!$B:$B)-1,1)
>
> If not, use the INDIRECT function. To refer to column B use
> YVals =OFFSET(INDIRECT("sheet1!b1"),0,0,COUNTA(Sheet1!$B:$B),1)
>
> The big downside is the need to add the worksheet name.
>
> --
> Regards,
>
> Tushar Mehta
> www.tushar-mehta.com
> Excel, PowerPoint, and VBA add-ins, tutorials
> Custom MS Office productivity solutions
>
> In article <#(E-Mail Removed)>, $$$$vram26@vsnl
> says...
> > I have dates in the first row
> > I have values in the second row
> > I use tecnique of named formuls of offset function (tushar Methta) so

that
> > the chart is updated when data for new dates are added.
> > now after some time I want to delete the older data
> > If I delete the columns of older dates the named formula get messed up

and I
> > get error message that three is some wrong reference. actulally in the
> > offset formula the starting cell is relaced by "REF"
> > Then I have to redo the whole exercise
> > any solutions.
> >
> >
> >



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Named Ranges and Dynamic Formulas Josh O. Microsoft Excel Worksheet Functions 3 1st Apr 2009 07:40 PM
Dynamic charts without Named Ranges? goofy11 Microsoft Excel Charting 5 20th Dec 2007 01:31 PM
Using Named Formulas in Charts DCSwearingen Microsoft Excel Misc 1 20th Jul 2006 09:27 PM
of Named Ranges, Dynamic Charts and scroll bars... =?Utf-8?B?ei5lbnRyb3BpYw==?= Microsoft Excel Charting 2 20th May 2005 07:16 PM
Re: dynamic charts using named formulas R.VENKATARAMAN Microsoft Excel Charting 2 9th May 2004 04:15 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:15 PM.