Creating a date time cell

RYork

New Member
Joined
Mar 3, 2002
Messages
4
How do you combine a date cell with a time cell to create a single date and time cell?

example:
A B C
1 03/04/02 | 08:15 | 03/04/02 08:15 |
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
On 2002-03-04 12:55, RYork wrote:
How do you combine a date cell with a time cell to create a single date and time cell?

example:
A B C
1 03/04/02 | 08:15 | 03/04/02 08:15 |

Simply adding the 2 together should do the trick!
 
Upvote 0
Try formatting your result cell as

mm/dd/yy hh:mm

Also, make sure cell C1 =A1 + B1 rather than A1 & B1.
 
Upvote 0
That's how I'm entering it. Here is the exact cell contents:
2/19/02 7:25

the results are 4/24/04 7:25
 
Upvote 0
One thing I didn't tell you was that the data was imported from an AS/400. When I enter the dates manually, adding the two fields works.
 
Upvote 0

Forum statistics

Threads
1,213,529
Messages
6,114,155
Members
448,554
Latest member
Gleisner2

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