+ Reply to Thread
Results 1 to 3 of 3

Sumproduct Average ignoring blank cells

  1. #1
    Registered User
    Join Date
    01-18-2014
    Location
    Chicago
    MS-Off Ver
    Excel 2013
    Posts
    88

    Sumproduct Average ignoring blank cells

    Hello all!

    I use this formula to return data from a large spread sheet, it was designed to accomidate the posibilty of blank rows being randomly inserted and I thought it worked fine until I started looking very closly.

    It finds and averages the data points for a list of employees stored in a named range at $A$2 What I discovered is that some of the cells this formula reads may be blank or contain a dash, causing the average to be wrong.. How can I get it to ignore blank cells?


    {=SUMPRODUCT(IFERROR(ISNUMBER(MATCH(ROW('Month-3'!$B$1:$B$6003),MATCH(INDIRECT($A$2),'Month-3'!$B$1:$B$6003,0)+MATCH($AJ13,'Month-3'!$A$1:$A$6003,0)-MATCH($AJ$2,'Month-3'!$A$1:$A$6003,0),0))*'Month-3'!E$1:E$6003,0))/SUMPRODUCT(--(IFERROR(MATCH(INDIRECT($A$2),'Month-3'!$B$1:$B$6003,0)>0,0)))}

    Anything you can do would be so appreciated!

    In the sample work book cell G13 needs to return the average of the highligted cells on sheet "Month-3"
    Attached Files Attached Files

  2. #2
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Sumproduct Average ignoring blank cells

    Try this.

    Please Login or Register  to view this content.
    Thank those who have helped you by clicking the Star * below their name and please mark your post [SOLVED] if it has been answered satisfactorily.

  3. #3
    Forum Contributor Jack7774's Avatar
    Join Date
    08-31-2012
    Location
    Georgia, US
    MS-Off Ver
    Excel 2010
    Posts
    576

    Re: Sumproduct Average ignoring blank cells

    Did this 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. Getting average but ignoring cells with blank (#value!)
    By Elainefish in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-23-2013, 08:30 AM
  2. Average ignoring Blanks cells
    By Justinmih in forum Excel General
    Replies: 10
    Last Post: 09-30-2011, 06:21 PM
  3. Omit blank cells from SUMPRODUCT average formula?
    By Radchek in forum Excel General
    Replies: 2
    Last Post: 09-03-2010, 08:18 AM
  4. average %'s between sheets (ignoring blank)
    By simpson in forum Excel General
    Replies: 0
    Last Post: 03-09-2010, 03:19 PM
  5. 30 Day Moving Average Ignoring Blank Cells
    By ethatch in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-17-2006, 05:40 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