Trying to concatenate date and time

emmabe

New Member
Joined
Jul 14, 2009
Messages
33
I have two cells in Excel 2010.

One contains a serial number which converts to the short date format "1/31/2011"

The second cell contains time "10:42:00 PM"

What I want to have is a cell which reads:

"1/31/2011 10:42:00 PM"

that I can use to calculate time intervals.

Concatenating the two cells yields a decimal which can't be displayed as a date.

I've tried googling how to do this but I can't seem to get the right key words ... any suggestions how I get this formula to work?
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Try like this

=A1+B1

If necessary custom format as Date & Time.
 

Forum statistics

Threads
1,175,930
Messages
5,900,372
Members
434,828
Latest member
Thungerford

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top