A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi,
(the formula only works for Excel 365).
Look at the example I have given in the screenshot and in cell A15 and apply the following formula. This formula regroups all unique data according to the letters located in cells B15:H15.
=LET(ts, TEXTSPLIT(TEXTJOIN(";",, TOCOL(B2:B10 & "," & IF(M2:O10 = "", NA(), M2:O10), 3)), ",", ";"), tk, TAKE(ts,, -1), PIVOTBY(TAKE(ts,, 1), tk, tk, SINGLE,, 0,, 0))
If you want to see all the data grouped according to the letters of cells B15:H15, then in the formula instead of the SINGLE function, put the ARRAYTOTEXT function.
While in case you want to have the amount of each grouping based on the letters of cells B15:H15, then in the formula instead of the SINGLE function, put the COUNTA function.
Hope this helps.
IlirU