A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Summarizing Date and Time



 
 
Thread Tools Display Modes
  #1  
Old January 29th, 2008, 04:18 PM posted to microsoft.public.excel.worksheet.functions
Sean
external usenet poster
 
Posts: 491
Default Summarizing Date and Time

Hello, I am trying to take the date in the format of mm/dd/yyyy hh/mm/ss and
on another worksheet creat a summary which would have a date field, a
seperate start time field, a seperate end time field, and a total time field.
Any suggestions as to the formulas that might help me out?

Thanks

  #2  
Old January 29th, 2008, 04:38 PM posted to microsoft.public.excel.worksheet.functions
[email protected]
external usenet poster
 
Posts: 45
Default Summarizing Date and Time

If you want to create a date out of the date/time data you can use
this formula:
=DATE(YEAR(D7),MONTH(D7),DAY(D7))
and the time would be:
=TIME(HOUR(D7),MINUTE(D7),SECOND(D7))

When you have a second time value you can just use regular math (since
time is really just a decimal value in disguise) and add and subtract
as you need.

On Jan 29, 11:18 am, Sean wrote:
Hello, I am trying to take the date in the format of mm/dd/yyyy hh/mm/ss and
on another worksheet creat a summary which would have a date field, a
seperate start time field, a seperate end time field, and a total time field.
Any suggestions as to the formulas that might help me out?

Thanks


  #3  
Old January 29th, 2008, 06:03 PM posted to microsoft.public.excel.worksheet.functions
David Biddulph
external usenet poster
 
Posts: 8,714
Default Summarizing Date and Time

=INT(A2) gives the date.
=MOD(A2,1) gives the time.
Format the cells appropriately.

If you are doing time calculations and you want to display a total which is
more than 24 hours, format as [hh]:mm:ss, not hh:mm:ss
--
David Biddulph

"Sean" wrote in message
...
Hello, I am trying to take the date in the format of mm/dd/yyyy hh/mm/ss
and
on another worksheet creat a summary which would have a date field, a
seperate start time field, a seperate end time field, and a total time
field.
Any suggestions as to the formulas that might help me out?

Thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


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