Forum Discussion
iain740
Sep 17, 2024Copper Contributor
Data is spread in multiple rows, need to put into tabular format
Hi all, Stuck on a problem and not sure what the correct terms are in order to search the answer. I have a table with data in a journal style with duplicate lines for each product the customer ha...
Patrick2788
Sep 17, 2024Silver Contributor
If you're using 365, PIVOTBY is the way to go:
=PIVOTBY(Salestbl[[Customer]:[Date]], Salestbl[Product Sold], Salestbl[Price], SUM)This formula was drawnup with your sample data tabled. Some of your expected calculations seem to be missing some totals. I've attached a workbook for your review.