Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
sds1rrnch
 
Posts: n/a
Default how do I give weights to averages

How do I give different weights to the totals That I am averaging?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default how do I give weights to averages

Let's say column A contains the values and B contains the weights, expressed
as decimals. Column B needs to sum to 100% for this to be correct.

=sumproduct(A1:A10,B1:b10)/sum(A1:a10)

"sds1rrnch" wrote:

How do I give different weights to the totals That I am averaging?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Ron Coderre
 
Posts: n/a
Default how do I give weights to averages

Multiply them by a percent.
All percents must add to 100%

Example:

A1: a sum that equals 100
A2: a sum that equals 50

B1: 75%
B2: 25%

B3: =sumproduct(A1:A2,B1:B2)
The weighted average is 87.5

Note: That formula is the same as:
B3: =(A1*B1)+(A2*B2)

Does that help?

***********
Regards,
Ron

XL2002, WinXP-Pro


"sds1rrnch" wrote:

How do I give different weights to the totals That I am averaging?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Duke Carey
 
Posts: n/a
Default how do I give weights to averages

Not quite correct:

=sumproduct(A1:A10,B1:b10)


"Duke Carey" wrote:

Let's say column A contains the values and B contains the weights, expressed
as decimals. Column B needs to sum to 100% for this to be correct.

=sumproduct(A1:A10,B1:b10)/sum(A1:a10)

"sds1rrnch" wrote:

How do I give different weights to the totals That I am averaging?

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
averages in pivot tables emcnaughton Excel Discussion (Misc queries) 1 January 6th 06 08:14 PM
Help I Am Ready To Give Up kynhart Excel Worksheet Functions 3 October 20th 05 05:11 AM
calculating averages Golf Averages Excel Discussion (Misc queries) 1 August 15th 05 08:25 PM
Give multiple charts on a worksheet/workbook same header or footer Ches Charts and Charting in Excel 2 July 4th 05 04:58 PM
Min & Max Averages Retiredff Excel Worksheet Functions 4 January 14th 05 05:58 PM


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