How to use the SUMIFS function to exclude the Null String (="")

Anonymous
2018-03-18T13:40:21+00:00

I'm trying to exclude a value from a summation if a corresponding value in another column (B6) is a Null String (="").  The following formula works fine if the corresponding value is BLANK:

It does not work if the corresponding value (in B6) is the Null String (=""):

Can anyone tell me how to change the criteria in my SUMIFS formula to correctly handle this case?

Microsoft 365 and Office | Excel | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2018-03-18T14:01:09+00:00

    Hi,

    Not clear to me, don't see the issue, can you share the workbook and tell us what is wrong?

    0 comments No comments
  2. Anonymous
    2018-03-18T14:29:09+00:00

    Hi Mark!

    Try this formula:

    =MIN(SUMIFS(A4:A8,B4:B8,"<>"&{"";"*"}))

    If possible, you can try this too:

    =SUMIFS(A4:A8,B4:B8,">=0")

    Markmzz

    0 comments No comments
  3. Ashish Mathur 101K Reputation points Volunteer Moderator
    2018-03-19T01:23:33+00:00

    Hi,

    Try this

    =SUMPRODUCT((ISNUMBER(B4:B8))*(A4:A8))

    Hope this helps.

    0 comments No comments
  4. Anonymous
    2018-03-19T05:54:53+00:00

    You may try,

    =SUMIFS(B4:B8,C4:C8,"<>*")

    2 people found this answer helpful.
    0 comments No comments