You can do this in Excel but it's not all in one cell [0].
[0] https://support.microsoft.com/en-us/office/spilled-range-ope...