#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 41
Default weighting data

Without using VBA is there a way to give more recent data events and future
events a heavier weight in an equation than events that happened longer ago?
e.g.
data score for 1/30 - 80
1/3 1- 90
2/1 - 100
2/2 - 90
2/3 - 80
2/4 - 70
So that time sensitive data would influence the outcome of an equation.

  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,058
Default weighting data

Even without VBA if A1 thru A6 contain:

80
90
100
90
80
70


then

=(A1*1+A2*2+A3*3+A4*4+A5*5+A6*6)/(1+2+3+4+5+6)

is one type of weighted average. The actual weights are sort of arbitrary,
just note the division by the sum of the weights.
--
Gary's Student
gsnu200703


"mmcap" wrote:

Without using VBA is there a way to give more recent data events and future
events a heavier weight in an equation than events that happened longer ago?
e.g.
data score for 1/30 - 80
1/3 1- 90
2/1 - 100
2/2 - 90
2/3 - 80
2/4 - 70
So that time sensitive data would influence the outcome of an equation.

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
Reconciliation of Data With Two Conditions Tiziano Excel Worksheet Functions 3 December 13th 06 02:36 AM
Excel Macro to Copy & Paste [email protected] Excel Worksheet Functions 0 December 1st 05 01:56 PM
From several workbooks onto one excel worksheet steve Excel Discussion (Misc queries) 6 December 1st 05 08:03 AM
Help PLEASE! Not sure what answer is: Match? Index? Other? baz Excel Worksheet Functions 7 September 3rd 05 03:47 PM
Sort pages? David Excel Discussion (Misc queries) 15 May 13th 05 11:33 PM


All times are GMT +1. The time now is 04:05 AM.

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"