anupambit1797
Nov 24, 2023Iron Contributor
LET function help
Dear Experts,
In attached sheet, I shared the calculation for the Min/Max/Avg "rrmUlUsedMcs", for each of the rnti(colD), and the lcrId used per rnti.
But , I want to use LET function to achieve this, can you please share on how to use a Single "LET" function and achieve this?
Thanks & Regards
Anupam Shrivastava
anupambit1797 Use the LET function to define names for each variable and/or calculation, then use HSTACK to return the final results. For example:
=LET( keys, Table3[rnti], values, Table3[rrmUlUsedMcs], u, UNIQUE(keys), a, BYROW(u, LAMBDA(r, TEXTJOIN(", ",, UNIQUE(FILTER(Table3[lcrId], keys=r))))), b, MINIFS(values, keys, u), c, MAXIFS(values, keys, u), d, AVERAGEIFS(values, keys, u), HSTACK(u, a, b, c, d) )
See attached...