Below is the situation where Product Column is having 2 values:”A” & blank, where product is not know. I’m trying to calculate how total qty of Product A & unknown product.
I’m using SUMIFS condition, but formula doesn’t consider blank cells (unknown product). How to consider blank cells, so that total qty would be “11” for unknown product.
The following formula solves your problem:
I reproduced it with your data and it returned 11 for the unknown products.
This works well, please try it:
$D$1:$D$2&""as i understand it will fill a
vbnullstring valuetype instead of empty cell, and it is a condition for countif to count cells with
value = ""
In “Criteria” column
D2 enter : “A” and
D3 enter : =””
In “Total Qty” column
E2, enter formula and copied down to