Combine date and time in Excel and Google Sheets

=TEXT(A2,"m/dd/yy ")&TEXT(A3,"hh:mm:ss")

A2 = date cell; A3 = time cell

Check below for a detailed explanation with pictures and how to use formulas in Excel and Google Sheets.

Combine date and time in Excel

How to combine date and time in Excel?
Combine date and time in Excel

COMBINE DATE AND TIME — EXCEL FORMULA AND EXAMPLE

=TEXT(A2,"m/dd/yy ")&TEXT(A3,"hh:mm:ss")

💡 The result will be stored as a text value

Combine date and time in Google Sheets

How to combine date and time in Google Sheets?
Combine date and time in Google Sheets

COMBINE DATE AND TIME — GOOGLE SHEETS FORMULA AND EXAMPLE

=TEXT(A2,"m/dd/yy ")&TEXT(A3,"hh:mm:ss")

💡 The result will be stored as a text value

Other widely used Excel and Google Sheets functions explainedOthers FormulasDate and time functionsNumber based criteriaText-based criteriaExtract functions