Forum Discussion
jim borchers
May 11, 2018Copper Contributor
combining date time columns
I have a number of worksheets with separate date and time columns. I need to combine them into a single column with a space between the date and time, 12-22-2017 12:30, for example. I realize I can use the concat command individually on each row. I have thousands of rows in each worksheet. Is there a global command that will speed this up?
1 Reply
Sort By
- Matt MickleBronze Contributor
You can just autofill the column. You may need to use the TEXT() function to combine the two values. Typically concatenate is for string values. You may run into formatting issues. Try these two:
=TEXT(A2, "m/d/yyyy")&" "&TEXT(B2, "h:mm")
or
=A2+B2 (this adds the values together.....)
Autofill Link: http://www.excelfunctions.net/Excel-Autofill.html