Forum Discussion
Jeremy1565
Oct 07, 2022Copper Contributor
Combine bank statement entries
Hi, I have downloaded my monthly banks statement as an excel document, and I currently have a table that has 3 columns: Narration (The business name) Debit Credit I want to be able to comb...
Lorenzo
Oct 07, 2022Silver Contributor
In case you want to do it with formulas and run Microsoft 365...
in J3:
=LET(
Narrations, UNIQUE(Table1[Narration]),
Debits, BYROW(Narrations, LAMBDA(rw, SUMIF(Table1[Narration],rw,Table1[Debit]))),
Credits, BYROW(Narrations, LAMBDA(rw, SUMIF(Table1[Narration],rw,Table1[Credit]))),
CHOOSE(SEQUENCE(,3), Narrations, Debits, Credits)
)