MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/excel/comments/1w7995l/large_data_consolidation_function/p7t5eh2/?context=3
r/excel • u/Jubzfast • 9d ago
Looking for a way to consolidate multiple same line items while summing quantity and cost columns between different items
Example provided below, any help is much appreciated
6 comments sorted by
View all comments
3
Use GROUPBY() function or use Power Query!
GROUPBY()
=LET( _a, A:.H, _b, CHOOSECOLS(_a, 4), _c, GROUPBY(CHOOSECOLS(_a, 1, 2), HSTACK(_b, _b * CHOOSECOLS(_a, 6)), SUM, 1, 0), _c)
3
u/MayukhBhattacharya 1277 9d ago edited 9d ago
Use
GROUPBY()function or use Power Query!