You have the syntax for SUMIFS incorrect.
But you can really do this just by using the helper column I suggested and the AUTOFILTER tool.
It should be something like this:
=SUMIFS(rangetosum, criteriarange1, criteria1, criteriarange2, criteria2,....)
But, SUMIFS criteria conditions are hard to enter with formulas, so the helper column again would come in handy.
so your formula above should be:
=SumIFS(B:B,A:A,"Account A",HelperColumn,"Dividends")
if you don't want to use the helper column then you'll need to use a big formula inside the SUMIFS, and entering search criteria in data entry query cells (in the example below A28 and C28):
Book1 |
---|
|
---|
| A | B | C | D |
---|
1 | Account | Deposit | Date | Text |
---|
2 | B | 13 | 2024-02-03 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcInterestlmnopqlmnopq |
---|
3 | E | 17 | 2024-02-08 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcInterestlmnopqlmnopq |
---|
4 | A | 17 | 2024-02-04 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcInterestlmnopqlmnopq |
---|
5 | E | 15 | 2024-01-28 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcInterestlmnopqlmnopq |
---|
6 | D | 11 | 2024-02-04 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
7 | D | 10 | 2024-02-05 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcInterestlmnopqlmnopq |
---|
8 | C | 20 | 2024-02-07 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcInterestlmnopqlmnopq |
---|
9 | D | 19 | 2024-02-06 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcCapital Gainslmnopqlmnopq |
---|
10 | A | 20 | 2024-02-11 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
11 | E | 14 | 2024-01-28 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcInterestlmnopqlmnopq |
---|
12 | D | 10 | 2024-02-13 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcCapital Gainslmnopqlmnopq |
---|
13 | B | 14 | 2024-02-10 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
14 | A | 14 | 2024-02-12 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcCapital Gainslmnopqlmnopq |
---|
15 | A | 20 | 2024-01-31 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcInterestlmnopqlmnopq |
---|
16 | C | 19 | 2024-02-07 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcCapital Gainslmnopqlmnopq |
---|
17 | C | 16 | 2024-02-13 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcCapital Gainslmnopqlmnopq |
---|
18 | C | 16 | 2024-02-13 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcCapital Gainslmnopqlmnopq |
---|
19 | A | 19 | 2024-02-13 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
20 | A | 10 | 2024-01-28 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
21 | B | 17 | 2024-01-31 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
22 | B | 17 | 2024-02-07 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
23 | E | 17 | 2024-02-11 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcCapital Gainslmnopqlmnopq |
---|
24 | C | 18 | 2024-01-26 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcInterestlmnopqlmnopq |
---|
25 | D | 15 | 2024-02-05 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcCapital Gainslmnopqlmnopq |
---|
26 | A | 12 | 2024-01-31 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcCapital Gainslmnopqlmnopq |
---|
27 | DataEntry | | | |
---|
28 | A | | Dividends | |
---|
29 | A | 20 | 2024-02-11 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
30 | A | 19 | 2024-02-13 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
31 | A | 10 | 2024-01-28 | xyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcxyxabcDividendslmnopqlmnopq |
---|
|
---|