PC Review


Reply
Thread Tools Rate Thread

"Average" questions

 
 
Bootroots
Guest
Posts: n/a
 
      6th Jul 2006

I need help. (Obviously)

How can I find simple (and weighted) averages of a column of numbers...
but not the entire column. Example, I have a column of 50 data points
and want to average the last 8 numbers only. The trick here is that my
data set is 50 columns wide as well, but each successive column gets
one number less. So Column A has 50, from row 1 to 50, Column b has row
1 to 49 etc. all the way to one row only out at column 50. I want to
average the last 8 numbers only and then drag my formula across all
columns and not have to go into the formula bar and change my array by
one row for each column.

Does this make sense? If anyone is an actuary I am working on insurance
loss development triangles if that helps. I am trying to make getting my
LDF picks easier.

Thanks,

Jason


--
Bootroots
------------------------------------------------------------------------
Bootroots's Profile: http://www.excelforum.com/member.php...o&userid=36126
View this thread: http://www.excelforum.com/showthread...hreadid=558989

 
Reply With Quote
 
 
 
 
BenjieLop
Guest
Posts: n/a
 
      6th Jul 2006

Bootroots Wrote:
> I need help. (Obviously)
>
> How can I find simple (and weighted) averages of a column of numbers...
> but not the entire column. Example, I have a column of 50 data points
> and want to average the last 8 numbers only. The trick here is that my
> data set is 50 columns wide as well, but each successive column gets
> one number less. So Column A has 50, from row 1 to 50, Column b has row
> 1 to 49 etc. all the way to one row only out at column 50. I want to
> average the last 8 numbers only and then drag my formula across all
> columns and not have to go into the formula bar and change my array by
> one row for each column.
>
> Does this make sense? If anyone is an actuary I am working on insurance
> loss development triangles if that helps. I am trying to make getting my
> LDF picks easier.
>
> Thanks,
>
> Jason


Try this and see if it helps you.

*=average(offset($A$1,count(A1:A50)-8,0,8))*


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=558989

 
Reply With Quote
 
BenjieLop
Guest
Posts: n/a
 
      6th Jul 2006

Bootroots Wrote:
> I need help. (Obviously)
>
> How can I find simple (and weighted) averages of a column of numbers...
> but not the entire column. Example, I have a column of 50 data points
> and want to average the last 8 numbers only. The trick here is that my
> data set is 50 columns wide as well, but each successive column gets
> one number less. So Column A has 50, from row 1 to 50, Column b has row
> 1 to 49 etc. all the way to one row only out at column 50. I want to
> average the last 8 numbers only and then drag my formula across all
> columns and not have to go into the formula bar and change my array by
> one row for each column.
>
> Does this make sense? If anyone is an actuary I am working on insurance
> loss development triangles if that helps. I am trying to make getting my
> LDF picks easier.
>
> Thanks,
>
> Jason


Try this and see if it helps you.

*=average(offset($A$1,count(A1:A50)-8,0,8))*


--
BenjieLop


------------------------------------------------------------------------
BenjieLop's Profile: http://www.excelforum.com/member.php...o&userid=11019
View this thread: http://www.excelforum.com/showthread...hreadid=558989

 
Reply With Quote
 
Roger Govier
Guest
Posts: n/a
 
      6th Jul 2006
Hi

One way, place the following formula in say cell A52
=SUM(INDEX(A1:A50,COUNT(A1:A50)-MIN((COUNT(A1:A50)-1),7)):INDEX(A1:A50,COUNTA(A1:A50)))/8

Copy across for all of your columns


--
Regards

Roger Govier


"Bootroots" <(E-Mail Removed)>
wrote in message
news:(E-Mail Removed)...
>
> I need help. (Obviously)
>
> How can I find simple (and weighted) averages of a column of
> numbers...
> but not the entire column. Example, I have a column of 50 data points
> and want to average the last 8 numbers only. The trick here is that my
> data set is 50 columns wide as well, but each successive column gets
> one number less. So Column A has 50, from row 1 to 50, Column b has
> row
> 1 to 49 etc. all the way to one row only out at column 50. I want to
> average the last 8 numbers only and then drag my formula across all
> columns and not have to go into the formula bar and change my array by
> one row for each column.
>
> Does this make sense? If anyone is an actuary I am working on
> insurance
> loss development triangles if that helps. I am trying to make getting
> my
> LDF picks easier.
>
> Thanks,
>
> Jason
>
>
> --
> Bootroots
> ------------------------------------------------------------------------
> Bootroots's Profile:
> http://www.excelforum.com/member.php...o&userid=36126
> View this thread:
> http://www.excelforum.com/showthread...hreadid=558989
>



 
Reply With Quote
 
Bob Phillips
Guest
Posts: n/a
 
      6th Jul 2006
=AVERAGE(LARGE(IF(A1:A50<>"",ROW(A1:A50)),ROW(INDIRECT("1:"&MIN(8,COUNT(A1:A
50))))))

which is an array formula, it should be committed with Ctrl-Shift-Enter, not
just Enter.

Copy across


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Bootroots" <(E-Mail Removed)> wrote
in message news:(E-Mail Removed)...
>
> I need help. (Obviously)
>
> How can I find simple (and weighted) averages of a column of numbers...
> but not the entire column. Example, I have a column of 50 data points
> and want to average the last 8 numbers only. The trick here is that my
> data set is 50 columns wide as well, but each successive column gets
> one number less. So Column A has 50, from row 1 to 50, Column b has row
> 1 to 49 etc. all the way to one row only out at column 50. I want to
> average the last 8 numbers only and then drag my formula across all
> columns and not have to go into the formula bar and change my array by
> one row for each column.
>
> Does this make sense? If anyone is an actuary I am working on insurance
> loss development triangles if that helps. I am trying to make getting my
> LDF picks easier.
>
> Thanks,
>
> Jason
>
>
> --
> Bootroots
> ------------------------------------------------------------------------
> Bootroots's Profile:

http://www.excelforum.com/member.php...o&userid=36126
> View this thread: http://www.excelforum.com/showthread...hreadid=558989
>



 
Reply With Quote
 
Bootroots
Guest
Posts: n/a
 
      6th Jul 2006

Thanks everyone! I will try all and see what works for me.


--
Bootroots
------------------------------------------------------------------------
Bootroots's Profile: http://www.excelforum.com/member.php...o&userid=36126
View this thread: http://www.excelforum.com/showthread...hreadid=558989

 
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
"num#" errors .. how to average a group with a "num#" error Byron Microsoft Excel Misc 6 20th May 2009 04:32 AM
"num#" errors .. how to average a group with a "num#" error Byron Microsoft Excel Misc 0 20th May 2009 02:13 AM
People v Caputo - Exhibit J - 09/24/03 - Valid Demand "akula" Be TOS'd for Committing Same Violation That Got "Average Joe" TOS'd Concerned Usenetizen Freeware 0 5th Aug 2006 08:28 AM
how does one convert text to a formula "average(A:A)" to =average( =?Utf-8?B?cGhzaGlyaw==?= Microsoft Excel Worksheet Functions 4 14th Apr 2005 01:20 AM
Questions about folders "My Recent Document", "Desktop", "My Pictures",... Just Me Microsoft VB .NET 8 1st Jul 2004 03:53 PM


Features
 

Advertising
 

Newsgroups
 


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