Nice challenge to test out some modern Excel functions.
However I got stuck in the let function, where I can't manage to get BYROW ( ) work.
So far:
[D3]:
=LET(_dNames;UNIQUE(data[NAME]);
_Cnt_names;COUNTIF(data[NAME];_dNames);
_min;MINIFS(data[NUMBER];data[NAME];_dNames);
_Stack;HSTACK(_dNames;_Cnt_names;_min);
_flt;FILTER(_Stack;_Cnt_names>2);
_flt)
Fills the range D3:F3 and provides me the details to create a sequence to which we can match the numbers.
[G3] (filled down): =SUM(--(SEQUENCE(;E3;F3;1)=AGGREGATE(15;6;data[NUMBER]/(data[NAME]=D3);SEQUENCE(;E3))))=E3
checks the condition that the numbers are in sequence, starting from the minimum value of number for each name. The sum of TRUEs must match
the number of times the name occurs (countif).
It is this part I cannot figure out to make it work with a BYROW/LAMBDA combo.
[I:3]: =FILTER(D3:D500;G3:G500) delivers he final result.
Looking forward to the replies of some of our formula wizards.