Search code examples
arraysif-statementgoogle-sheetssumgoogle-sheets-formula

Google sheets dsum on blank column criterion


I'm messing around with google sheets trying to track a goal.

I'd like to run a DSUM() where one of the criteria is that a column is blank.

I have tried "", but that isn't working.

I'm trying to get DSUM(A:C, Goal, ) to equal 2 (sums the second column, but not the first) for the following data:

Goal   | Met   | Rewarded
------------------------
1      | 1 Jan | 2 Jan
2      | 3 Jan |
3      |       |

Where criterion range is:

Met   | Rewarded
------------------------
>0    | ""

Anyone know how to set the criterion for a blank column? Or use a function like ISBLANK?


Solution

  • try it with escaping the equal sign:

    '=
    

    enter image description here

    enter image description here