PC Review


Reply
Thread Tools Rate Thread

cell reference within cell reference

 
 
jamesstout222
Guest
Posts: n/a
 
      7th May 2004
i have x values and y values in columns and i add more values everyday
I want to have a XY scatter chart which only shows the last 25
entries. Therefore I'm trying to do something like this:

cell E1 contains the number of the most recent entry eg 350


x values - A(E1-250) : A(E1)
eg would be A100:A350


y values - B(E1-250) : B(E1)
eg would be B100:B350

this won't work. Any idea how i can fiddle this

--
Message posted from http://www.ExcelForum.com

 
Reply With Quote
 
 
 
 
Bernard Liengme
Guest
Posts: n/a
 
      7th May 2004
I am going to assume your x-values start in A2, y-values in B2, all on
Sheet5
Use Insert|Name|Define and define MyX as
=OFFSET(Sheet5!$A$2,COUNTA(Sheet5!$A$2:$A$6500)-250,0,250)
Use Insert|Name|Define and define MyY as
=OFFSET(Sheet5!$B$2,COUNTA(Sheet5!$A$2:$A$6500)-250,0,250)
Make a chart of ALL of your data - ignore the mess!!!
Right click chart, from popup menu select Source Data
Set the x-range to Sheet5!MyX and the y-range to Sheet5!MyY
Hey presto, we are done

Best wishes


--
Bernard Liengme
www.stfx.ca/people/bliengme
remove CAPS in e-mail address


"jamesstout222 >" <<(E-Mail Removed)> wrote in
message news:(E-Mail Removed)...
> i have x values and y values in columns and i add more values everyday.
> I want to have a XY scatter chart which only shows the last 250
> entries. Therefore I'm trying to do something like this:
>
> cell E1 contains the number of the most recent entry eg 350
>
>
> x values - A(E1-250) : A(E1)
> eg would be A100:A350
>
>
> y values - B(E1-250) : B(E1)
> eg would be B100:B350
>
> this won't work. Any idea how i can fiddle this?
>
>
> ---
> Message posted from http://www.ExcelForum.com/
>



 
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
When I reference a cell in a separate list, I am unable to sort thatlist and keep the reference. Any suggested solutions? Mike C Microsoft Excel Discussion 2 15th Feb 2008 02:32 PM
absolute cell reference A spreadsheet cell reference that does no =?Utf-8?B?aGVscA==?= Microsoft Excel Misc 1 18th Jan 2006 06:56 PM
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. twister212atop@yahoo.com Microsoft Excel Worksheet Functions 2 11th Dec 2004 12:05 AM
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable twister212atop@yahoo.com Microsoft Excel Worksheet Functions 2 11th Dec 2004 12:00 AM
Convert text string in format of cell reference to a cell reference =?Utf-8?B?RnJhbms=?= Microsoft Excel Misc 1 16th Dec 2003 08:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:55 AM.