+ Reply to Thread
Results 1 to 4 of 4

Sumproduct: #Value! due to calulated blank cell

  1. #1
    Registered User
    Join Date
    04-11-2014
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Sumproduct: #Value! due to calulated blank cell

    I have the following formula to count the total of locations opened by month. If a center isn't going to open, the location's opening date will error and show a blank cell, but it's a calulated value. The sumproduct is =SUMPRODUCT(($B$172:$B$198<>"")*(MONTH($B$172:$B$198)=MONTH(AW$11))). Any help?

  2. #2
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Sumproduct: #Value! due to calulated blank cell

    Try this version

    =SUMPRODUCT((TEXT($B$172:$B$198,"mmm;;")=TEXT(AW$11,"mmm;;"))+0)
    Audere est facere

  3. #3
    Registered User
    Join Date
    04-11-2014
    Location
    Pittsburgh, PA
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Sumproduct: #Value! due to calulated blank cell

    That's perfect! Thanks!!!

  4. #4
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumproduct: #Value! due to calulated blank cell

    Here's another one...

    Array entered**:

    =SUM(IF(ISNUMBER($B$172:$B$198),IF(MONTH($B$172:$B$198)=MONTH(AW$11),1)))

    ** array formulas need to be entered using the key
    combination of CTRL,SHIFT,ENTER (not just ENTER).
    Hold down both the CTRL key and the SHIFT key
    then hit ENTER.

    Let's go Pens!
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] Sumproduct containing a non blank cell
    By Ted Dennis in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 04-04-2014, 06:54 AM
  2. [SOLVED] Vlookup problem when looking for a calulated time difference
    By Masun in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 01-07-2014, 04:05 PM
  3. [SOLVED] sumproduct formula - if cell blank 0%
    By fabrecass in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-29-2013, 09:21 AM
  4. [SOLVED] Leaving cell blank when sumproduct result is 0
    By ankurkhandelwal1978 in forum Excel Formulas & Functions
    Replies: 14
    Last Post: 11-23-2012, 10:33 PM
  5. SUMPRODUCT counts 1 (Jan) even when cell is blank
    By zackary68 in forum Excel General
    Replies: 4
    Last Post: 08-06-2008, 02:07 PM

Tags for this Thread

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