LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #13   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default How do I calc the time difference in hh:mm for shift work?

Yes, if it behaves that way for you, it's a bug. Perhaps you can tell us
which version of Excel you are using?

For the rest of the world, we can custom format as hh:mm and still type in a
number as 0.75 or 6:00 PM. It will still display as 18:00, but doesn't
constrain the format in which we enter the number, nor does that format
contrain the value which we can enter.
--
David Biddulph

Archimedes' Lever wrote:
On Thu, 30 Apr 2009 09:13:55 +0100, "David Biddulph" <groups [at]
biddulph.org.uk wrote:

If you want to use 12 hour format, then of course you need to
include the AM or PM. That's what 12 hour format is.

As I said in the part of my message which you snipped, data
validation and cell display formatting are two separate unrelated
features of Excel. Data validation can constrain the numbers that
it will allow you to store in the cell. The format in which you
choose to display the number is a separate matter.



The only exception, then, is if one chooses "custom" as the cell
format, and sets that string to "hh:mm". Maybe it is a bug. ;-)

That is why my cells would not accept any other input. After
choosing one of the given "time" formats for cells, it works fine.
Apparently my "custom" setup also forces a specific input mode, which
ends up being a type of validation.



 
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
How do I create formula to calc difference in dates? dlcroswell Excel Discussion (Misc queries) 21 May 12th 10 10:45 PM
Calc minutes and seconds difference Coach Excel Worksheet Functions 15 September 24th 06 04:57 AM
Display minutes ONLY and calc difference tjsmags Excel Discussion (Misc queries) 8 August 29th 06 08:03 PM
Can excel calc the difference between 2 dates removing weekends? Adam Excel Discussion (Misc queries) 1 August 14th 06 06:50 AM
Percentage difference calc that knows the largest figure Mighty Magpie Excel Discussion (Misc queries) 3 November 10th 05 06:45 PM


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

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

About Us

"It's about Microsoft Excel"