+ Reply to Thread
Results 1 to 2 of 2

Weighted Average, Multiple Criteria, Adding additional columns.

  1. #1
    Registered User
    Join Date
    09-19-2016
    Location
    Massachusetts, USA
    MS-Off Ver
    2010
    Posts
    1

    Weighted Average, Multiple Criteria, Adding additional columns.

    Good Day,

    I have a weighted average formula here:

    =IFERROR(SUM(--IF(AND(B28>$D$6,B28<=$D$7),$D$17*$D$5,0),--IF(AND(B28>$F$6,B28<=$F$7),$F$17*$F$5,0),--IF(AND(B28>$H$6,B28<=$H$7),$H$17*$H$5,0),--IF(AND(B28>$J$6,B28<=$J$7),$J$17*$J$5,0),--IF(AND(B28>$L$6,B28<=$L$7),$L$17*$L$5,0))/SUM(--IF(AND(B28>$D$6,B28<=$D$7),$D$5,0),--IF(AND(B28>$F$6,B28<=$F$7),$F$5,0),--IF(AND(B28>$H$6,B28<=$H$7),$H$5,0),--IF(AND(B28>$J$6,B28<=$J$7),$J$5,0),--IF(AND(B28>$L$6,B28<=$L$7),$L$5,0)),0)

    Where B28 to B51 is a time, i.e. 1:00 AM, column D-L are calling campaigns with varying hours of operations. Row 6 is start time and row 7 is end time. Row 5 is the volume, row 17 is the handle time. I am trying to calculate the average handle times for each hour of the day based on the campaigns which are running within their hours of operation. There is probably a more efficient way of doing it, but this is what I figured out and it works. My problem is I would like to make this formula able to add more columns to increase the number of campaigns. I had previously done this for another formula using COUNTA and OFFSET, but I don't think that will work here unless the formula is completely redone.

    Any help/suggestions would be greatly appreciated. If I haven't explained clearly please let me know.

    Thanks in advance.

    Jeff

  2. #2
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Weighted Average, Multiple Criteria, Adding additional columns.

    maybe your workbook will explain it clearly

+ 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. Weighted average using multiple criteria matches
    By mmayo713 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-02-2016, 01:52 PM
  2. [SOLVED] Weighted Average Sumproduct Multiple Criteria with Data in One Column
    By azaremb in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-11-2014, 03:14 PM
  3. [SOLVED] Weighted Average with Multiple Qualifying Criteria
    By bpiereder in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-17-2014, 03:31 PM
  4. [SOLVED] Weighted Average with Two Criteria
    By nadrojylloh in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 06-25-2014, 05:45 PM
  5. Weighted average w/ multiple text criteria excel 2010
    By mischge in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-31-2013, 11:34 AM
  6. [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
  7. weighted average getting messed with additional rows.
    By StuartDrury in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-19-2011, 09:52 AM

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