Reputation: 5234
I have two columns. One contains start date and the other contains end date in the following format: YYYY-MM-DD
I'm trying to create a third column that combines the two dates to produce: "YYYY-MM-DD to YYYY-MM-DD"
I tried the following formula: =M2&" to "&N2
But it gives me back the dates in numbers like so (but I want the dates): 45047 to 45074
Any suggestions on how to fix my issue?
Upvotes: 0
Views: 289
Reputation: 1014
=TEXT(M2, "YYYY-MM-DD") &
" to " &
TEXT(N2, "YYYY-MM-DD")
Upvotes: 0