+ Reply to Thread
Results 1 to 4 of 4

Sumproduct Omit Zero's

  1. #1
    Forum Contributor
    Join Date
    07-31-2009
    Location
    Lincoln, USA
    MS-Off Ver
    Excel 2007 and excel 2010
    Posts
    142

    Sumproduct Omit Zero's

    Hello -


    I'm trying to do a weighted average based on 2 columns; numbers and percentages from 2 tables. (see attached for basic example)


    General Concept (2 tables)

    Table 1
    - I have 4 Queues for a call center
    - Column A = Queue Name
    - Column B = Number of Calls
    - Column C = Percentage of calls in the queue vs all queues

    Table 2 Scores for each queue
    - Column A = Queue Name
    - Column B = Score for the queue


    What I want
    - I need to do a weighted average of the scores based on the percentage of calls in the queue but omit zero's from the Score table. I've tried sumproduct but can't figure out how to omit the zero's and still do the weighted average. Since in this example the last queue in the score table is zero I'd want a sumproduct of the first 3 queues (Score*% of total)

    any thoughts are appreciated.

    thanks.
    Attached Files Attached Files
    Last edited by fireguy7; 11-17-2015 at 11:25 AM. Reason: resolution worked

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Sumproduct Omit Zero's

    Hi,

    One way is the following Array formula - entered with Ctrl Shift Enter

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

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Contributor
    Join Date
    07-31-2009
    Location
    Lincoln, USA
    MS-Off Ver
    Excel 2007 and excel 2010
    Posts
    142

    Re: Sumproduct Omit Zero's

    That worked thanks Richard!

  4. #4
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Sumproduct Omit Zero's

    My pleasure and thanks for the rep.

+ 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] Omit every nth row from formula
    By JBDC in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-03-2015, 04:03 PM
  2. Omit blank cells from a multiple sumproduct
    By zmfb039 in forum Excel General
    Replies: 5
    Last Post: 10-03-2012, 04:31 AM
  3. [SOLVED] How to omit row from a range?
    By jonnytales in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 06-20-2012, 02:13 PM
  4. Tell program to omit a certain tab
    By Oly Steel Man in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-24-2011, 04:15 PM
  5. Omit blank cells from SUMPRODUCT average formula?
    By Radchek in forum Excel General
    Replies: 2
    Last Post: 09-03-2010, 08:18 AM
  6. How do I omit the min and max values and
    By Karlynn in forum Excel - New Users/Basics
    Replies: 5
    Last Post: 05-21-2007, 07:49 PM
  7. omit a negative number
    By LD6892 in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-10-2006, 10:10 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