Combining two columns

marg

New Member
Joined
Apr 20, 2005
Messages
9
I have two columns A being the date B being time (24hr). Is there any way of combining the two columns together.
I am trying to calculate the elapsed time.
Previously I have physically typed the time into the date cell, this takes a long time as I have up to 1000 entries.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
something like "=A1&B1" or if you want a space between the two =A1&" " &B1 ...

is that what you're getting at?
 
Upvote 0
Thank you both very much for the prompt reply. The first answer game me just a string of numbers. The second one works a treat. You have saved me hours of work. :biggrin:
Sometimes you feel a bit of a dummie when such a simple formula works.
I have been learning excel on the fly - never had any tuition on it and I am compiling some data for a hospital emergency department as a volunteer.
Again THANKYOU
 
Upvote 0
Thanks,

in Cell: A1
1/1/2006

in Cell: B1
13:30:00


in Cell: C1

=A1+B1 >Result: 01/01/2006 13:30
(Did work fine and formated)

But when I tried:
A1&" "&B1 >Result: 38718 0.5625
When I apply "Format Cell dd/mm/yyyy h:mm"
nothing Changed!



Thanks again.
 
Upvote 0
You need to change cell format like

m/d/yyyy h:mm

adjust the space between date and time
 
Upvote 0

Forum statistics

Threads
1,213,546
Messages
6,114,251
Members
448,556
Latest member
peterhess2002

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
Back
Top