Peter Bartholomew
Well-Known Member
@Amit Rana The starting point is the function that you can see in the refers to box if you open Name Manager and look at the Name 'ID'. You will see that it contains a LET function. The same function is shown in cells F2:H2 where it is developed column by column. LET works by assigning names to fragments of the final formula for reuse, rather than writing them to a cell and referencing the cell. I suggest you look the function up.
Then look at G2 on the Mock solution sheet. The UNIQUE function reduces the IDs to a distinct set. Then for each ID in turn column H reads those [Names] from the table that correspond to the current ID. TEXTJOIN collects the names to form a single comma-separated string. Similarly for the FID and LGD in the following columns.
Then look at G2 on the Mock solution sheet. The UNIQUE function reduces the IDs to a distinct set. Then for each ID in turn column H reads those [Names] from the table that correspond to the current ID. TEXTJOIN collects the names to form a single comma-separated string. Similarly for the FID and LGD in the following columns.