Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in
x
or
x
x
Register
x

or

How to combine date and time into one cell in Excel?

doc combine date time into one 1
There are two columns in a worksheet, one is the date, the other is time, as shown as below, is there any way to quickly combine these two columns into one, and keep the time format? Now, I introduce two ways in Excel to combine date column and time column into one and keep the time format.
Combine date and time with formula in Excel
Combine date and time with Kutools for Excel good idea3      play

Easily Combine multiple sheets/Workbook into one Single sheet or Workbook

To combinne multiples sheets or workbooks into one sheet or workbook may be edious in Excel, but with the Combine function in Kutools for Excel, you can combine merge dozens of sheets/workbooks into one sheet or workbook, also, you can consolidate the sheets into one by several clicks only.  strong>Click for full-featured 30 days free trial!
combine sheets
 
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 30 days.

arrow blue right bubble Combine date and time with formula in Excel

There is a very simple formula that can quickly help you combine date column and time column into one.

Type this formula =TEXT(A2,"m/dd/yy ")&TEXT(B2,"hh:mm:ss") (A2 indicates the first data in date column, B2 stands the first data in time column, you can change them as you need) into a blank cell, and press Enter key, then drag the fill handle to fill the range you want to use this formula. See screenshot:
doc combine date time into one 2

Tip: You also can use this formula =A2+B2 and then format the result cells as date and time formatting.


arrow blue right bubble Combine date and time with Kutools for Excel

With above formula, you may lost the formula result when you edit the worksheet. Now I introduce a Combine utility of Kutools for Excel for you to directly combine the data and time cells into one. If you like to try new handy tool, you can download it to have a try.

Kutools for Excel, with more than 300 handy functions, makes your jobs more easier. 

After installing Kutools for Excel, please do as below:(Free Download Kutools for Excel Now!)

1. Select the dates and times you want to combine, and click Kutools > Combine. See screenshot:
doc combine date time into one 3

2. In the popping dialog, specify the setting:

doc combine date time into one 4
(1) Check Combine columns under To combine selected cells according to following options (If your dates and times are place into two rows, you can check Combine rows),

(2) Select a separator to separate the combined data, you can choose Space, Nothing or type the separator you need into the textbox,

(3) Place the result to : Left cell or Right cell,

(4) Specify the options about the combined cells, Keep contents of combined cells, Delete contents of combined cells, Merge the combined cells

3. Click Ok. And then you need to format the cells as date and time format.

Keep contents of combined cells
Delete contents of combined cells
Merge the combined cells
doc combine date time into one 5
doc combine date time into one 6
doc combine date time into one 7

Note:
This operation supports Undo.
The result cells needed to be formatted as mm/dd/yyyy hh:mm:ss formatting in Format Cells dialog.

Tip. If you want to have a free trial of the Combine Cells function, please go to free try Kutools for Excel first, and then go to apply the operation according above steps.

arrow blue right bubble Combine Date and Time into One Cell


Tabbed browsing & editing multiple Excel workbooks/Word documents as Firefox, Chrome, Internet Explore 10!

You may be familiar to view multiple webpages in Firefox/Chrome/IE, and switch between them by clicking corresponding tabs easily. Here, Office Tab supports similar processing, which allow you to browse multiple Excel workbooks or Word documents in one Excel window or Word window, and easily switch between them by clicking their tabs. Click for free 30-day trial of Office Tab!

ot excel

Kutools for Excel Solves Most of Your Problems, and Increases Your Productivity by 80%

  • Reuse: Quickly insert complex formulas, charts and anything that you have used before; Encrypt Cells with password; Create Mailing List and send emails...
  • Super Formula Bar (easily edit multiple lines of text and formula); Reading Layout (easily read and edit large numbers of cells); Paste to Filtered Range...
  • Merge Cells/Rows/Columns without losing Data; Split Cells Content; Combine Duplicate Rows/Columns... Prevent Duplicate Cells; Compare Ranges...
  • Select Duplicate or Unique Rows; Select Blank Rows (all cells are empty); Super Find and Fuzzy Find in Many Workbooks; Random Select...
  • Exact Copy Multiple Cells without changing formula reference; Auto Create References to Multiple Sheets; Insert Bullets, Check Boxes and more...
  • Extract Text, Add Text, Remove by Position, Remove Space; Create and Print Paging Subtotals; Convert Between Cells Content and Comments...
  • Super Filter (save and apply filter schemes to other sheets); Advanced Sort by month/week/day, frequency and more; Special Filter by bold, italic...
  • Combine Workbooks and WorkSheets; Merge Tables based on key columns; Split Data into Multiple Sheets; Batch Convert xls, xlsx and PDF...
  • More than 300 powerful features. Supports Office/Excel 2007-2019 and 365. Supports all languages. Easy deploying in your enterprise or organization. Full features 30-day free trial.
kte tab 201905

Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier

  • Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
  • Open and create multiple documents in new tabs of the same window, rather than in new windows.
  • Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
officetab bottom
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    Makheti Philip · 7 months ago
    The article saved my job because I finished the report I work on in 5minutes but I need assistance of a formula that will return a difference between two cells with combined date and time. Example 18/2/19 08:35 and 21/2/19 08:32.
  • To post as a guest, your comment is unpublished.
    Robin · 8 months ago
    how can you combine a column with a date and another column with a code?
    • To post as a guest, your comment is unpublished.
      Sunny · 8 months ago
      Sorry, Robin, your problem is not clear, could you describe it with more details or upload some screenshots? I do not know what is code?
  • To post as a guest, your comment is unpublished.
    Manjunath · 9 months ago
    Col A= 2-Jan-19 Col B= 3:07 PM and formal is TEXT(B4,"dd/mmm/yyyy")&TEXT(C4,"hh:mm"), and output is 01/02/1915:07... if i need the Space in between Date and Time
  • To post as a guest, your comment is unpublished.
    Amjad Javed · 1 years ago
    (Column B) (Column C) (Column D)
    (KASHIF GULZAR SHAIKH) (10-05-2018 10:36) (24381530028971)

    after Marge Formula =B2&" "&C2&" "&D2
    KASHIF GULZAR SHAIKH 43230.4419097222 24381530028971
  • To post as a guest, your comment is unpublished.
    Amjad Javed · 1 years ago
    B C D
    KASHIF GULZAR SHAIKH 10-05-2018 10:36 24381530028971

    after merge
    KASHIF GULZAR SHAIKH 43230.4419097222 24381530028971
  • To post as a guest, your comment is unpublished.
    Jenny · 2 years ago
    This is so great, thank you!
  • To post as a guest, your comment is unpublished.
    Hocine · 2 years ago
    Thank you, you saved my day !
  • To post as a guest, your comment is unpublished.
    Praveen · 2 years ago
    your article helped me a lot. Really appreciate your info. Thanks
  • To post as a guest, your comment is unpublished.
    Namso · 2 years ago
    This was absolutely correct. I was in a state of panic and in one click, everything was sorted. I copied the formular and it worked like a charm. Thank you very much :D
  • To post as a guest, your comment is unpublished.
    Graham Dragon · 3 years ago
    Why make it so complicated? Why not simply say "=A2+B2" and format that column to display date and time? As long as you have only put the date in column A, it will assume the time is 00:00, and the addition will therefore be the exact date and time of the two columns.
    • To post as a guest, your comment is unpublished.
      sunflower · 2 years ago
      [quote name="Graham Dragon"]Why make it so complicated? Why not simply say "=A2+B2" and format that column to display date and time? As long as you have only put the date in column A, it will assume the time is 00:00, and the addition will therefore be the exact date and time of the two columns.[/quote]
      Appreciate your answer. In fact, in solution 1, there is a tip to remind everyone can use the formula =A2+B2 to solve the job, too. Thank you for your reading again.
    • To post as a guest, your comment is unpublished.
      IanB · 3 years ago
      Wow, that makes such a difference, and with such simplicity.
    • To post as a guest, your comment is unpublished.
      Blee · 3 years ago
      Wow.....thanks Graham. Can't believe how much of a headache this caused me to do all because I didn't start with the simplest solution first. Sometimes less is more.
  • To post as a guest, your comment is unpublished.
    Colin · 5 years ago
    Combine the date and time with a plus sign + in a third column. Custom formatting can look after preserving the time format.