![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: Mar 2002
Posts: 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 | |
|
|
|
|
|
#2 | |
|
MrExcel MVP
Join Date: Feb 2002
Location: Newcastle, UK
Posts: 1,174
|
Quote:
__________________
"Have a good time......all the time" Ian Mac |
|
|
|
|
|
|
#3 |
|
New Member
Join Date: Mar 2002
Posts: 4
|
I tried that and get weird results.
|
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sunny, spring-like Hull
Posts: 3,339
|
Try formatting your result cell as
mm/dd/yy hh:mm Also, make sure cell C1 =A1 + B1 rather than A1 & B1. |
|
|
|
|
|
#5 |
|
New Member
Join Date: Mar 2002
Posts: 4
|
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 |
|
|
|
|
|
#6 |
|
New Member
Join Date: Mar 2002
Posts: 4
|
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.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|