August 30, 2008, 08:12:08 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

There are currently 0" users in chat
News: Don't forget to give or take karma if you were helped. Not giving karma will make people less likely to assist you in the future.
 
 
  Website   Home   Help Search Affiliate Chat Calendar Members Tags Links Gallery Media Center Login Register  
Gł Solutions Network
In short, the goal of Gł Solutions is in the title. We attempt to define technology in easily understood terms.
From the end-user to the entrenched and battle scarred professional - we all have questions. And answers.
We attempt to answer these questions - in a round-about fashion - as this: "How can technology help?"
MAIN SITE BLOG Main Site Search HOSTING PRIVACY CONTACT ABOUT



Digg This!
Subject Statistics
Topic: Weighted Average foruma in Excel Replies: 3 posts
Read 4962 times 0 Members and 1 Guest are viewing this topic.
Pages: [1]   Go Down
  Reply  |  New Topic  |  Send this topic  |  Print  
Author Topic: Weighted Average foruma in Excel  (Read 4962 times)
 
0 Members and 1 Guest are viewing this topic.
4fit?
Full Member
***

Karma: +2/-0
Offline Offline

Mood:

Gender: Male
Posts: 36


Gemini   White Dog - Loves HeartElectric

Topic starter
That guy.......4fit?


View Profile WWW
« on: February 02, 2007, 04:21:32 PM »

Excel has the capability to calculate standard averages using the AVERAGE function. However, if you need to weight the average based on a particular quantity, there is no single Excel function that can handle this. Now, this doesn't mean that it can't be done. We just need to nest two Excel functions together, SUM and SUMPRODUCT. The SUMPRODUCT function is very handy when you have summary columns with dollar amounts and quantities. Essentially, it multiplies the quantity and the $ amount without you having to write a =(QuantityCell*DollarAmountCell) type formula. Now, this wouldn't really make sense if you just want to evaluate 2 cells. But, when you have to evaluate entire columns of data, this function shines. The SUM function does exactly what it says, it sums data cells.

So, to calculate a weighted average, what we need to do is multiply each $ amount by it's associated quantity, add all of them together, and then divide that amount by the total sum of the quantities. So, if we have quantities in range B3:B7 and $ amounts in range C3:C7 and we want to put the weighted average in C11, we would enter the following formula in C11, =SUMPRODUCT(B2:B6,C2:C6)/SUM(B2:B6).

As you can see in the example below, using the standard average formula results in a massive inflation due to that one company having such a high $ amt, when that $ amt only occurred 6 times.  Now look at the weighted average version.  It brings everything back into line the way it should be taking each companies quantity into consideration when calculating the average.  I have also included a blown out version of the weighted average formula so you can better see what it is truly doing.



« Last Edit: February 02, 2007, 04:23:42 PM by 4fit? » Report to moderator   Logged

Mustangs Of Burlington Admin

Specialize in MS Office Automation
Gł Solutions - Technology Defined
« on: February 02, 2007, 04:21:32 PM »
Reply with quoteQuote


 Logged
KGIII
Official Code Wrecker
Administrator
Dedicated Poster
********

Karma: +15/-2
Offline Offline

Mood:

Gender: Male
OS: Vista, XP, Ubuntu
CPU: 2x AMD64 4800+
RAM: 3 GB
HDD: 500 GB (Raid0)
Posts: 11279


 

Yes, yes I can.


View Profile WWW
« Reply #1 on: February 02, 2007, 05:13:25 PM »

Stickied and thanks. Smiley

Stuff like that makes me ALMOST want to swap this over to tinyportal...

*sighs*

TP is sexy too. Wink Or, well, it can be...

http://smfsucks.com

Purdy...
Report to moderator   Logged
4fit?
Full Member
***

Karma: +2/-0
Offline Offline

Mood:

Gender: Male
Posts: 36


Gemini   White Dog - Loves HeartElectric

Topic starter
That guy.......4fit?


View Profile WWW
« Reply #2 on: February 02, 2007, 08:02:14 PM »

Stickied and thanks. Smiley

Stuff like that makes me ALMOST want to swap this over to tinyportal...

*sighs*

TP is sexy too. Wink Or, well, it can be...

http://smfsucks.com

Purdy...
That's certainly a great looking site!
Report to moderator   Logged

Mustangs Of Burlington Admin

Specialize in MS Office Automation
KGIII
Official Code Wrecker
Administrator
Dedicated Poster
********

Karma: +15/-2
Offline Offline

Mood:

Gender: Male
OS: Vista, XP, Ubuntu
CPU: 2x AMD64 4800+
RAM: 3 GB
HDD: 500 GB (Raid0)
Posts: 11279


 

Yes, yes I can.


View Profile WWW
« Reply #3 on: February 02, 2007, 08:29:59 PM »

And people could write/submit articles. Wink

That's just me playing. I am not so good at design or anything, so I poke around at various domains with various themes and see what I can come up with.
Report to moderator   Logged
Tags:
Pages: [1]   Go Up
  Reply  |  New Topic  |  Send this topic  |  Print  
 
Jump to:  

+ Quick Reply
With a Quick-Reply you can use bulletin board code and smileys as you would in a normal post, but much more conveniently.

Reminder:
Why not introduce yourself or register?
Powered by SMF 1.1.4 | SMF © 2006-2008, Simple Machines LLC | Sitemap
This page was magically conjured in about 0.122 seconds with 36 spell components. No animals were harmed in the making of this page.

Google visited last this page Yesterday at 05:11:50 PM