Hey Community - I couldn't score enough time at the formulas booth this week to pick someone's brain on this one. I am looking to re-create an Excel tool that I use to create all permutations from a two column matrix, for example, if I have two columns called SIZE and SHAPE, the next column should be a column formula produces this:
I'm going in a circle because Excel has a self-referencing ROW() function, but Smartsheet does not. I'm not skilled enough with Index(Join(Collect(Distinct(Etc. to build something that references itself. Anyone have a creative idea?
For reference, the Excel version looks like this (assume the column formula would be in column C)
"=IF(ROW()-ROW($C$1)+1>COUNTA(A:A)*COUNTA(B:B),"", INDEX(A:A,INT((ROW()-ROW($C$1))/COUNTA(B:B)+1))&"|"&INDEX(B:B,MOD(ROW()-ROW($C$1),COUNTA(B:B))+1))"