LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mark@Marc
 
Posts: n/a
Default Time Field Formatting


I am exporting a report from Crystal Reports because the time "in" and
time "out" fields are recognized as text fields in instead of time
fields. I am trying to get a total time. If I try to format the cells
as time cells it has no effect. Here is my example:

11:30 AM 12:30 PM

I use the =Left(a3,5) formula to drop the AM & PM off of the cell and I
am able to sucessfully get a time difference for all times that do not
cross the noon hour. I get the following result for times that do
cross noon:

11:30 12:30 ########################

where ########### should actually be 1:00

I realize the root problem is that the database we are pulling from
does not recognize the fields that have times as time fields. I am not
able to correct that so I hope Excel can help with this problem.

Thanks

Mark


--
Mark@Marc
------------------------------------------------------------------------
Mark@Marc's Profile: http://www.excelforum.com/member.php...o&userid=28126
View this thread: http://www.excelforum.com/showthread...hreadid=513665

 
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
time sheet to calculate 2 different columns John Sullivan Excel Worksheet Functions 1 October 21st 05 06:48 AM
Formatting / Time lehigh46 Excel Worksheet Functions 3 July 25th 05 07:48 PM
unmet challenge boris Excel Worksheet Functions 2 March 16th 05 02:13 PM
Time formatting Fred Holmes Excel Discussion (Misc queries) 1 March 16th 05 01:29 PM
Time formatting danlinksman Excel Worksheet Functions 2 December 7th 04 12:21 AM


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