+ Reply to Thread
Results 1 to 2 of 2

Calculate weighted average based on a date

  1. #1
    Registered User
    Join Date
    01-02-2014
    Location
    Philippines
    MS-Off Ver
    Excel 2010
    Posts
    95

    Calculate weighted average based on a date

    I need to be able to calculate the weighted average per date. This is the weighted average calculation =SUMPRODUCT(q1 score, q1 count)/SUM(q1 count)
    The criterion is the date. I have attached a sample workbook. The data is in another sheet (Raw)
    Attached Files Attached Files

  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,747

    Re: Calculate weighted average based on a date

    What are you using as a weight? Your formula for Volume doesn't make sense.

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Raw$C:$I contains the following columns:
    Please Login or Register  to view this content.
    So it is counting the number of times the date in A2 appears in any of those columns. The only column containing a date is C. Also COUNTIF can be used instead of COUNTIFS if all you are doing is counting dates. So I am thinking you meant to do something different with this formula.

    Are the numbers in Raw!I (Q1) supposed to be the volume? If so then I think you mean for that formula to be

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    Once we understand what's going on there, we can talk about a weighted average by date.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ 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. Calculate Weighted Average within a date range
    By danallamas in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 05-27-2016, 10:59 AM
  2. Calculate weighted average for values between two date ranges.
    By chan069 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-25-2014, 01:12 AM
  3. Weighted average based on various date ranges (SUMIFS or SUMPRODUCT)?
    By MajorMattMason in forum Hello..Introduce yourself
    Replies: 2
    Last Post: 08-14-2014, 09:34 PM
  4. Calculate a weighted average based on text category
    By zbomb2000 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-27-2013, 10:07 PM
  5. [SOLVED] Calculate a weighted average in a single cell based on multiple criteria
    By _Bryan in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-14-2013, 04:38 PM
  6. [SOLVED] Help with IF and SUMPRODUCT to calculate weighted average??
    By consulttk in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-02-2012, 03:56 PM
  7. Weighted Average with NA...can't calculate
    By salmanjan in forum Excel General
    Replies: 5
    Last Post: 04-18-2008, 08:24 PM

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