Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 10
Default extracting time only

good morning

I have a seri of cells where the information inside is like

10/2/2007 4:38:00 PM

I would like to create 2 columns where in one of them I have the date only
and in the other I have the time only

Any idea as to what is the best thing to ddo?

Help is appreciated ... Thanks


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,856
Default extracting time only

You can get the date with:

=INT(A1)

and the time with:

=MOD(A1,1)

if your date/time is in A1.

Format the cells appropriately.

Hope this helps.

Pete

On Apr 10, 4:34*pm, "Michel Khennafi" wrote:
good morning

I have a seri of cells where the information inside is like

10/2/2007 *4:38:00 PM

I would like to create 2 columns where in one of them I have the date only
and in the other I have the time only

Any idea as to what is the best thing to ddo?

Help is appreciated ... Thanks


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
Extracting First Name Ruan New Users to Excel 12 February 15th 06 05:41 PM
Extracting Time from a cell that has both the date and the time Hani Muhtadi Excel Discussion (Misc queries) 3 September 9th 05 10:59 AM
Extracting time Fay Excel Discussion (Misc queries) 1 June 30th 05 01:37 PM
extracting last name maryj Excel Worksheet Functions 4 June 29th 05 08:55 PM
extracting dd from dd/mm/yy KC Excel Worksheet Functions 4 November 27th 04 12:57 PM


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

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"