Reputation: 11
I have a bank account statement and I wanted to sum specific types of transactions of every month
Column B has dates and Column C has transactions description and I wanted to sum Column E only transactions which have P2M and NBSM Types of transaction
This is the formula that I used but This formula sums only 1st searched text string not 2nd
=SUMIFS(E:E, B:B, ">=01/09/2023", B:B, "<=30/09/2023", C:C, {"*P2M*","*NBSM/*"})
This is the Google Sheet Table
Upvotes: 0
Views: 51
Reputation: 29982
You may test:
=arrayformula(sumifs(E:E, eomonth(B:B,),"=30-Sep-2023", --regexmatch(C:C,"P2M|NBSM"),1))
Upvotes: 0