TEXT function - Microsoft Support
In the following example, you’ll see what happens if you try to join text and a number without using the TEXT function. In this case, we’re using the ampersand ( &) to concatenate a text string, a space (" "), and a value with =A2&" "&B2. As you can see, Excel removed the formatting from the date in cell B2.
Applies To:
Excel for Microsoft 365, Excel for Microsoft 365 for Mac, Excel for the web, Excel 2021, Excel 2021 for Mac, Excel 2019, Excel 2019 for Mac, Excel 2016