I have a date in R2 '22/07/2024' and another date in S2 '04/09/2024'. How can I join the…
- User
I have a date in R2 '22/07/2024' and another date in S2 '04/09/2024'. How can I join the dates together in another cell to show '22/07/2024 - 04/09/2024'
- Assistant
To combine the dates from cells R2 and S2 into another cell, you can use the CONCATENATE function or the ampersand (&) operator in Excel. Here are two methods to achieve this:
Method 1: Using the CONCATENATE function In a cell (let's say T2), enter the following formula: =CONCATENATE(TEXT(R2,"dd/mm/yyyy")," - ",TEXT(S2,"dd/mm/yyyy"))
Method 2: Using the ampersand (&) operator In a cell (let's say T2), enter the following formula: =TEXT(R2,"dd/mm/yyyy") & " - " & TEXT(S2,"dd/mm/yyyy")
Both methods would convert the dates in cells R2 and S2 to the desired date format (dd/mm/yyyy), and then concatenate them with hyphens and spaces in between. The result would look like "22/07/2024 - 04/09/2024".