+ Reply to Thread
Results 1 to 4 of 4

Calculating an average vs. weighted average

  1. #1
    Registered User
    Join Date
    04-03-2020
    Location
    NYC
    MS-Off Ver
    365 Pro Plus
    Posts
    72

    Exclamation Calculating an average vs. weighted average

    I have been asked to calculate the weighted average of a cost per pound (lb) by asset (numbered 1 thru 5 in the attached file) for the full year of 2020 and 2021.

    I've set it up so my file calculates the average cost/lb for each asset ("Averages" tab), but for my work I have to combine two separate costs, which is confusing me, and I need to get this to my boss ASAP. The data can be found on the "2020" and "2021" tabs.

    I've attached a file with slightly altered data, but please someone take a look and see if you can help me, I'm desperate right now and not sure how to mathematically calculate this.

    Basically Assets A-I produce pounds of product which are then transported from assets 1-5. I need to find the weighted average of Cost per lb for each asset (1-5) for 2020 and 2021.

    Please help ASAP. THANK YOU!!!
    Attached Files Attached Files
    Last edited by jk2391; 12-11-2020 at 02:10 PM.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,696

    Re: !!! Calculating an average vs. weighted average

    Your description kind of mashes up a lot of different things but I'm trying to get the idea by looking at your file.

    In your situation, it's not really a weighted average. You have a total weight produced and a total production cost, and a total transport cost. This makes the weight per pound very easy. You just take the sum of the costs and divide by the sum of the weights. It looks like you are already doing this in rows 3-7 and including the corresponding transport cost (which is a little confusing since this is not described anywhere in your question). So I don't understand what you need that you don't already have. I think someone is either not understanding your data or not understanding what a weighted average is.


    Note: Here is the typical weighted average problem. This type of thing comes up in cost accounting.

    Suppose you have five items. Each item has a number of units produced. Each item has a unit cost in dollars. To get the average weighted unit cost in dollars, you first multiply each item's unit cost times the number of units for that item. Then you add up all the products of those multiplications and divide by the total number of units for all items, and you get a weighted average cost per unit.

  3. #3
    Forum Expert wk9128's Avatar
    Join Date
    08-15-2020
    Location
    Taiwan
    MS-Off Ver
    365 V2403 and WPS V2022
    Posts
    3,380

    Re: !!! Calculating an average vs. weighted average

    Averages worksheet name , C4 cell array formula , Drag down and accross

    HTML Code: 

  4. #4
    Registered User
    Join Date
    04-03-2020
    Location
    NYC
    MS-Off Ver
    365 Pro Plus
    Posts
    72

    Re: !!! Calculating an average vs. weighted average

    Thank your for the response. I admit my post wasn't the greatest in explaining things; I was in a panicked rush when I typed it hahaha.

    But that was exactly my thinking when I sent this out and got back the response for a weighted averaged. A WA is usually calculated when you can, say apply a weight or percentage to an exam, let's say, compared to other exams in a given duration, and then you get the average from that.

    My data is a bit more complex because there's two units, Lbs and $ costs, with multiple assets that I have to account for. I was confused with their question because I figured the weights in this case could either refer to the Lb produced as a % of the total production pounds, or total costs (transport + production) as a % of the outright total costs. Last night though when I tried to write my formulas to do this, the math either resulted in 0, an error message, or the same averages I had calculated anyways.

    So I'm not sure. Maybe I'm wrong and missing something, but it appears here that with this situation, you can't really calculate a weighted average cost/Lb.

    Thanks again for the help.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] DAX for Calculating Weighted Average
    By jdriscol in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 09-06-2017, 02:40 PM
  2. Query regarding Calculating Weighted average value or average value in Percentage.
    By adamsmith1337 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 02-03-2016, 07:56 AM
  3. Need help with calculating a weighted average
    By anoble1 in forum Excel General
    Replies: 6
    Last Post: 05-30-2014, 10:02 AM
  4. Calculating Weighted Average on Subtotals
    By Cjax in forum Excel General
    Replies: 1
    Last Post: 07-23-2009, 08:59 PM
  5. [SOLVED] calculating a weighted average using formula
    By KL in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 09-06-2005, 07:05 PM
  6. [SOLVED] calculating a weighted average using formula
    By bob green in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 03:05 AM
  7. [SOLVED] calculating a weighted average using formula
    By bob green in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 02:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1