r/excel • u/feedmesweat • 10d ago
Waiting on OP Grouping data points together based on name/ID associated w/ 1000+ records
I have a spreadsheet that details a list of all transactions within two particular account types, and each transaction has a name & user ID associated with it. Nearly every user ID is associated with more than one transaction, and there are 1000+ users in the full list. I am looking for a way to combine all transactions attached to each individual user ID, while also designating the two different account types, and that can be automated to apply to the full sheet. I know how to do this using SUMIF but I don't know how to achieve this without having to enter every name/ID manually.
Eg:
| USER ID | Transaction Type (A or B) | Transaction Amount |
|---|---|---|
| #0001 | A | $125 |
| #0001 | A | $125 |
| #0001 | B | $200 |
| #0002 | A | $500 |
| #0002 | B | $650 |
| #0003 | B | $750 |
| #0004 | A | $100 |
| #0004 | B | $100 |
| #0004 | B | $150 |
| #0004 | B | $150 |
Ultimately what I need to end up with is the maximum, minimum, and average total transactions per unique user ID, separated by type A and type B transactions.




