sumif(column with account number, "Account Number", column with amounts)