+ Reply to Thread
Results 1 to 10 of 10

SUMPRODUCT including empty cells :(

Hybrid View

  1. #1
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    14,738

    Re: SUMPRODUCT including empty cells :(

    Thinking about this a little more, I presume the "empty" cells must actually have a text value in them otherwise SUBTOTAL wouldn't count them, you can probably get the right result without the extra condition, just by changing the 3 to a 2 in the SUBTOTAL function, that will then only include cells with a numeric value, i.e.

    =SUMPRODUCT(SUBTOTAL(2,OFFSET('Y4 R'!$AT$16,ROW('Y4 R'!$AT$16:$AT$120)-ROW('Y4 R'!$AT$16),0)),('Y4 R'!$AT$16:$AT$120>=5)+0)/'Y4 R'!L10
    Audere est facere

  2. #2
    Registered User
    Join Date
    09-20-2014
    Location
    London
    MS-Off Ver
    Excel 2013
    Posts
    98

    Re: SUMPRODUCT including empty cells :(

    Great

    Based on your correction I have tried to nudge the formula further ....I have tried to add <13 and >=9 and then >=24 and <27

    But reports 0 when there is actually 1 incidence....

    =SUMPRODUCT(SUBTOTAL(3,OFFSET('Y4 R'!$EA$16,ROW('Y4 R'!$P$16:$EA$120)-ROW('Y4 R'!$EA$16),0)),('Y4 R'!$EA$16:$EA$120<13)*('Y4 R'!$EA$16:$EA$120>=9)*('Y4 R'!$EC$16:$EC$120>=24))*('Y4 R'!$EC$16:$EC$120<27)

+ 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. Sorting including empty cells
    By khhandal in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 09-05-2014, 05:03 AM
  2. only including non-empty cells in the formula
    By jveeken in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-21-2014, 04:43 AM
  3. [SOLVED] Pick Random Value from a Range (not including empty Cells)
    By ghoneim in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-22-2013, 04:46 AM
  4. The rank of average ranks excluding empty cells but including their average.
    By Terminal45 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-21-2012, 03:44 AM
  5. Excel 2007 : Sorting including empty cells
    By Domesticus in forum Excel General
    Replies: 0
    Last Post: 03-01-2011, 05:20 PM

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