Given the table below (A1:C6), how do I use a SUMPRODUCT(SUMIF(...)) to get the correct result where the criteria is
Product = A (which is cell E2) and
Unit = Blank, 1, Blank & 2 (cells E4:E7) - Yes...it starts with a blank.
CURRENTLY I have the formula
My problem here is the 2nd criteria range where the range has blanks, and SUMIFS takes blanks as 0. Thus SUMS blanks, 1 and 2
Row/Column |
A |
B |
C |
D |
E |
1 |
Product |
Unit |
Amount |
|
Criteria |
2 |
A |
1 |
10 |
|
A |
3 |
A |
0 |
20 |
|
|
4 |
A |
2 |
20 |
|
|
5 |
A |
1 |
#N/A |
|
1 |
6 |
#N/A |
2 |
20 |
|
|
7 |
A |
0 |
30 |
|
2 |
Solved: I was able to solve this via using an Array Formula of SUMPRODUCT(SUMIFS(......IF(...)))
However, if you have alternative solution where it doesn't use ARRAY, would like to know as well.
Bookmarks