Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 104
Default Cant get dynamic range formula to work.

Oh Wise Ones,
I have an array formula that I use in a workbook
to give me the average of the last 10 values in a column and it works GREAT!
I use this type of formula so I can chart it from a set range. Problem is I
tried to adapt it to another workbook and it won't work. I have data from
P7:P432 that I am try to get a moving average of the last 6 values and more
rows are added daily. I get a #NUM error. Could someone take a peek at it and
offer an opinion. Possible you may have a better formula that can handle
errors.

The formula array entered in AM7:

=INDEX(P:P,LARGE(IF($P$7:$D$65535<"",ROW($P$7:$D$ 65535)),ROW($AM$13)-ROW()))

Mike
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Cant get dynamic range formula to work.

The formula array entered in AM7:

=INDEX(P:P,LARGE(IF($P$7:$D$65535<"",ROW($P$7:$D$ 65535)),ROW($AM$13)-ROW()))

That formula is not getting an average!

I have data from P7:P432 that I am try to get a
moving average of the last 6 values


Why does your formula reference this range - $P$7:$D$65535 - when you want
an average of this range - P7:P432 ?

Are there any empty/blank cells *within* this range - P7:P432 ?

Biff

"Mike K" wrote in message
...
Oh Wise Ones,
I have an array formula that I use in a workbook
to give me the average of the last 10 values in a column and it works
GREAT!
I use this type of formula so I can chart it from a set range. Problem is
I
tried to adapt it to another workbook and it won't work. I have data from
P7:P432 that I am try to get a moving average of the last 6 values and
more
rows are added daily. I get a #NUM error. Could someone take a peek at it
and
offer an opinion. Possible you may have a better formula that can handle
errors.

The formula array entered in AM7:

=INDEX(P:P,LARGE(IF($P$7:$D$65535<"",ROW($P$7:$D$ 65535)),ROW($AM$13)-ROW()))

Mike



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 104
Default Cant get dynamic range formula to work.

Biff,
Forgive me for my blunder. I copied the formula in a partially
modified state. It should be:
=INDEX(P:P,LARGE(IF($P$7:$P$65535<"",ROW($P$7:$P$ 65535)),ROW($AM$17)-ROW()))

I've got it working now.

Thanks,
Mike
Reply
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
array formula with a dynamic range. Dave Excel Worksheet Functions 2 June 26th 06 06:16 AM
Dynamic Range with unused formula messing up x axis on dynamic graph [email protected] Charts and Charting in Excel 2 February 2nd 06 08:02 PM
Setting dynamic range in a formula Phillycheese5 Excel Worksheet Functions 9 June 10th 05 07:58 PM
Help to adapt Formula syntax to work with Dynamic Named Ranges Sam via OfficeKB.com Excel Worksheet Functions 13 April 29th 05 12:36 AM
formula to set up dynamic range in names Jeff Excel Worksheet Functions 0 February 23rd 05 03:45 PM


All times are GMT +1. The time now is 12:17 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"