+ Reply to Thread
Results 1 to 3 of 3

How to get Sumproduct to ignore a criteria if it is blank?

Hybrid View

skysurfer How to get Sumproduct to... 04-28-2012, 01:23 AM
canapone Re: How to get Sumproduct to... 04-28-2012, 01:53 AM
DonkeyOte Re: How to get Sumproduct to... 04-28-2012, 05:13 AM
  1. #1
    Forum Expert
    Join Date
    12-03-2009
    Location
    Florence, Italy
    MS-Off Ver
    Excel 2019
    Posts
    1,796

    Re: How to get Sumproduct to ignore a criteria if it is blank?

    Hi,

    you could try an array SUM (confirmed with control+shift+enter)

    =SUM(IF(ISBLANK($C16),1,$C$43:$C$211=$C$16)*(Sheet1!$A$43:$A$211=$A16)*(Sheet1!$B$43:$B$211=$B16)*Sheet1!$P$43:$R$211)
    but there are for sure better and more elegant solutions.

    Regards
    Last edited by canapone; 04-28-2012 at 01:56 AM.
    -----------------------------------------------------

    At Excelforum, you can say "Thank you!" by clicking the star icon ("Add Reputation") below the post.

    Please, mark your thread [SOLVED] if you received your answer.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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