Concatenating date with a string in Excel

后端 未结 5 1400
死守一世寂寞
死守一世寂寞 2020-12-25 10:04

I have two cells in Excel. one has a string and the other one has a date. in the third cell I want to put the date and the string together. For example:

A1          


        
5条回答
  •  再見小時候
    2020-12-25 10:31

    Don't know if it's the best way but I'd do this:

    =A1 & TEXT(A2,"mm/dd/yyyy")
    

    That should format your date into your desired string.

    Edit: That funny number you saw is the number of days between December 31st 1899 and your date. That's how Excel stores dates.

提交回复
热议问题