Forum Discussion
gabby895
Apr 26, 2024Copper Contributor
Have a list automatically sort to group on another page in excel
Hi, I'm looking for a solution for billing for my company. Our current system: My boss writes down her work in a notebook as she completes it (ex. Client 1 Burger King 1 4/1/24). At the end of the mo...
PeterBartholomew1
Apr 26, 2024Silver Contributor
It is possible to build the result as a stacked 'table of tables' using 365 but the exercise is not trivial and it depends both on your data structure (where did the dollar sums come from?) and the exact version of Excel.
= LET(
distinctClient,SORT(UNIQUE(Client)),
properties, REDUCE("Property",distinctClient,LAMBDA(tbl,clnt,
LET(
pr, FILTER(Property,Client=clnt),
spc, " ",
VSTACK(tbl,pr,spc, spc)
)
)),
count, REDUCE("Files",distinctClient,LAMBDA(tbl,clnt,
LET(
files, FILTER(countOfFiles, Client=clnt),
subTotal, SUM(files),
spc, " ",
VSTACK(tbl,files,subTotal,spc)
)
)),
HSTACK(properties, count)
)