+ Reply to Thread
Results 1 to 3 of 3

Ignore Blank Cells in SUMPRODUCT formula

  1. #1
    Registered User
    Join Date
    07-26-2013
    Location
    Perth, WA
    MS-Off Ver
    Microsoft Excel 2007
    Posts
    17

    Ignore Blank Cells in SUMPRODUCT formula

    I would like to use the following formula to count values less than 10 within a particular range, but the formula gives me a wrong (too high) result because it is including blank cells in its calculation. Can you please tell me how I can modify this formula to ignore any blank cells when it calculates.


    =SUMPRODUCT((BS$11:BS$997<10)*(BQ$11:BQ$997>=CA11)*(BR$11:BR$997<=CB11))

    Thank you

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: Ignore Blank Cells in SUMPRODUCT formula

    As you did not specify which column contains blanks, I'll assume it is BR
    =SUMPRODUCT((BS$11:BS$997<10)*(BQ$11:BQ$997>=CA11)*(BR$11:BR$997<=CB11)*(BR$11:BR$997<>" "))

    FWIW you can also use the SUMIFS function which is probably faster

  3. #3
    Forum Expert bebo021999's Avatar
    Join Date
    07-22-2011
    Location
    Vietnam
    MS-Off Ver
    Excel 2016
    Posts
    9,463

    Re: Ignore Blank Cells in SUMPRODUCT formula

    May be:

    =SUMPRODUCT((BS$11:BS$997>0)*(BS$11:BS$997<10)*(BQ$11:BQ$997>=CA11)*(BR$11:BR$997<=CB11))
    Quang PT

+ 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] Return non-blank cells from range AND ignore cells with only formula w/o results
    By grafitti in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-06-2014, 08:15 AM
  2. [SOLVED] Ignore blank cells created by formula
    By Versial in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-14-2013, 11:20 PM
  3. [SOLVED] Array formula to ignore blank cells
    By trickeyja in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-22-2012, 07:35 PM
  4. Array formula to ignore blank cells
    By bronsonb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-13-2011, 09:14 AM
  5. Getting formula to ignore blank cells
    By CDM in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-23-2006, 06:07 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