Dear Experts / Members,

I have a table with values (rows and columns), from the table I have to find top - 3 which should return their row heading with in a cell concatenated with comma for the 3 values and also for last 3 values.

Tried with large, index, match, offset but, no luck.

Please find attached the image for better understanding.
Untitled.png

Thanks in advance