Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 358
Default date time consolidation

I have two separate cells. One with data one with time. I need to make the
two cells into one with the date and time. Seems simple but.....
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 427
Default date time consolidation

The method you use to accomplish this will depend on how the date and
time information is stored. Excel can store< information one way and
present< it in another. An Excel compliant date is in fact a large

integer number: today, 10 Feb 2010, is stored as the integer 40219. An
Excel compliant time is a fraction of a day: 6:15 pm is stored as a
decimal portion of a day, or 0.760417.

Test how the data is stored by reformatting the columns as numbers and
expanding the decimal points. This will show if the data is stored in
an Excel compliant format.

If your date column and your time column are both stored as Excel
compliant, you should be able to use =A1+B1 (substituting your cell
references, of course) to achieve your desired output.

If the dates and times are stored as text it can still be done but it
takes some doing. Post to this group with your formatting results
along with some examples if you still run into problems.

Dave O
Eschew obfuscation
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default date time consolidation

Add them together and then give the cell a nice format: mmm dd, yyyy hh:mm:ss



Andrew wrote:

I have two separate cells. One with data one with time. I need to make the
two cells into one with the date and time. Seems simple but.....


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default date time consolidation

It's as simple as adding them together: a1+a2
Format as desired.

Regards,
Fred

"Andrew" wrote in message
...
I have two separate cells. One with data one with time. I need to make
the
two cells into one with the date and time. Seems simple but.....


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Converting text format of time/date into Excel time/date for subtr YY san.[_2_] Excel Worksheet Functions 6 February 25th 10 08:27 AM
Calculating days & time left from start date/time to end date/time marie Excel Worksheet Functions 7 December 7th 05 02:36 PM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 02:48 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM
Combined date time cell to separate date & time components Mark Ada Excel Discussion (Misc queries) 1 December 2nd 04 12:07 AM


All times are GMT +1. The time now is 04:04 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"