A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data.
Hi @Tim Cox,
If you are running Excel 365, then try the formula below. I have applied it to cell E2 and I have used comma as separator between sentences.
=BYROW(D2:D9, LAMBDA(a, ARRAYTOTEXT(IFNA(XLOOKUP(--REGEXEXTRACT(a, "\d", 1), A2:A10, B2:B10), ""))))
If you want you can use this formula instead of previous one:
=BYROW(D2:D9, LAMBDA(a, TEXTJOIN(CHAR(10),, IFNA(XLOOKUP(--REGEXEXTRACT(a, "\d", 1), A2:A10, B2:B10), ""))))
In this case select range E2:E9 go to Format Cells > Alignment > Wrap text > OK.
Hope this helps.
IlirU