Forum Discussion
theglossy1
Jan 30, 2023Copper Contributor
Getting a list and counts based on a value
Greetings. Using my screen shot as a reference, columns A-D have raw data. There are 12 sample rows, but it would be many thousands in reality. Based on who I set the customer to (cell E...
- Jan 30, 2023
With the new dynamic arrayformulas you can try this:
=HSTACK(UNIQUE(FILTER(B2:B14,A2:A14=E2)),BYROW(UNIQUE(FILTER(B2:B14,A2:A14=E2)),LAMBDA(row,SUMIFS(D2:D14,A2:A14,E2,B2:B14,row))))
OliverScheurich
Jan 30, 2023Gold Contributor
With the new dynamic arrayformulas you can try this:
=HSTACK(UNIQUE(FILTER(B2:B14,A2:A14=E2)),BYROW(UNIQUE(FILTER(B2:B14,A2:A14=E2)),LAMBDA(row,SUMIFS(D2:D14,A2:A14,E2,B2:B14,row))))
- theglossy1Jan 30, 2023Copper ContributorWhoa, nice... thanks!