Forum Discussion
dtbsmith
Jul 11, 2023Copper Contributor
List each occurrence with a unique identifier based on type and frequency table
Hi All, Got a bit of a tough one here - I'm trying to work out a formula which is able to identify each 'instance/occurance' or a type based on the frequency value within the table (essentially ...
- Jul 11, 2023
OliverScheurich
Jul 12, 2023Gold Contributor
=REDUCE({"Itemised Result"."Unique ID"."Concat Result"},SEQUENCE(ROWS(Tabelle1[Name])),
LAMBDA(x,y,
LET(
z,DROP(TOCOL(TEXTSPLIT(REPT(INDEX(Tabelle1[Name],y)&"//",INDEX(Tabelle1[Quantity],y)),"//")),-1),
v,SEQUENCE(INDEX(Tabelle1[Quantity],y),,1),
VSTACK(x,HSTACK(z,v,z&"_"&v)))
)
)An alternative with Office 365 could be this formula.
- dtbsmithJul 14, 2023Copper ContributorThanks for this. I think I'm going to have to look into functions within this formula as I've not come across them before. You've managed to ace it with just formulas though - very impressed!