LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Sadler
 
Posts: n/a
Default Using a nested Address function for a reference


I am trying to graph a weighted moving average. I need the graph to
show 12 months of history. With every new month (column) I add to the
right off the data, I need the graph to drop the month's data from 13
month ago. I think I am close, but no cigar yet.

Example Included Graph test.xls

Here are my defined Names:
Date2=OFFSET(Sheet1!$B$2,0,0,1,COUNTA(Sheet1!$2:$2 )-1)
Sales2=OFFSET(Sheet1!$B$3,0,0,1,COUNTA(Sheet1!$2:$ 2)-1)

Here is my current graph series equation:
=SERIES(Sheet1!$A$3,'Graph Test.xls'!Date2,'Graph Test.xls'!Sales2,1)

I thought there may be some way to use the address function, but It
keeps giving me an error. I trie both as a defined name and jut in th
regular equation.

=SERIES('Graph Test.xls'!(ADDRESS(3,(COUNT($3:$3))-12)),'Graph
Test.xls'!Date2,'Book3 (version 1).xls'!Sales2,1)

Can you help?
thanks
Sadler


--
Sadler
------------------------------------------------------------------------
Sadler's Profile: http://www.excelforum.com/member.php...o&userid=29950
View this thread: http://www.excelforum.com/showthread...hreadid=496489

 
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
Indirect and Address in Reference to other sheets MikeDH Excel Worksheet Functions 0 August 11th 05 09:53 PM
Need to reference existing functions in a custom function: possibl dofnup Excel Worksheet Functions 5 August 6th 05 11:42 AM
how to make cell address reference increment? jacko Excel Worksheet Functions 3 June 1st 05 05:33 PM
Automatically up date time in a cell Mark Excel Discussion (Misc queries) 5 May 12th 05 12:26 AM
how do i reference multiple rows/columns with one function? NewUser13 New Users to Excel 0 March 4th 05 06:45 PM


All times are GMT +1. The time now is 02:52 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"