Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default to separate date and time formula

Hi

How do you create a formula to separate date 04/12/2007 and time 00:00:00?

4/12/2007 00:00:00

Thank you,
Soth
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default to separate date and time formula

If A1 contains your combined date and time, then...

For the date part: =INT(A1)

For the time part: =MOD(A1,1)

You will probably have to format the cells you put these formulas in to
display the date and time properly.

--
Rick (MVP - Excel)


"Soth" wrote in message
...
Hi

How do you create a formula to separate date 04/12/2007 and time 00:00:00?

4/12/2007 00:00:00

Thank you,
Soth


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 55
Default to separate date and time formula


Wonderful - Thanks Rick



"Rick Rothstein" wrote:

If A1 contains your combined date and time, then...

For the date part: =INT(A1)

For the time part: =MOD(A1,1)

You will probably have to format the cells you put these formulas in to
display the date and time properly.

--
Rick (MVP - Excel)


"Soth" wrote in message
...
Hi

How do you create a formula to separate date 04/12/2007 and time 00:00:00?

4/12/2007 00:00:00

Thank you,
Soth



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
Elapsed time when separate cells contain time and separate date Gnugs New Users to Excel 1 March 7th 07 08:48 AM
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
Combined date time cell to separate date & time components Mark Ada Excel Worksheet Functions 1 December 2nd 04 12:04 AM


All times are GMT +1. The time now is 07:30 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"