#1   Report Post  
Lexicon
 
Posts: n/a
Default excel formatting

PLEASE HELP! I have used the 00:\00:\00 format to input times without having
to press the colon every time. Now though, when Excel tries to minus one time
from another, because of this formatting it only recognises times as numbers,
e.g. 12:15:30 - 12:14:50 Excel thinks this equals 00:00:80 !! Can anybody
help?! How do I get it to recognise that the answer is 00:01:20 ??? thank you
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

=TIME(INT(B1/10000)-INT(A1/10000),INT(MOD(B1,10000)/100)-INT(MOD(A1,10000)/1
00),MOD(B1,100)-MOD(A1,100))

and form at as time

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Lexicon" wrote in message
...
PLEASE HELP! I have used the 00:\00:\00 format to input times without

having
to press the colon every time. Now though, when Excel tries to minus one

time
from another, because of this formatting it only recognises times as

numbers,
e.g. 12:15:30 - 12:14:50 Excel thinks this equals 00:00:80 !! Can anybody
help?! How do I get it to recognise that the answer is 00:01:20 ??? thank

you


  #3   Report Post  
Gord Dibben
 
Posts: n/a
Default

You cannot use formatting as an input mask to enter times or dates without the
proper separators.

Use the colon or see Chip Pearson's site for entering times/dates using VBA
event code.

http://www.cpearson.com/excel/DateTimeEntry.htm

OR Bob Phillips' site for an add-in for Quick Date Entry.

http://www.xldynamic.com/source/xld.QDEDownload.html


Gord Dibben Excel MVP

On Tue, 19 Apr 2005 07:18:05 -0700, "Lexicon"
wrote:

PLEASE HELP! I have used the 00:\00:\00 format to input times without having
to press the colon every time. Now though, when Excel tries to minus one time
from another, because of this formatting it only recognises times as numbers,
e.g. 12:15:30 - 12:14:50 Excel thinks this equals 00:00:80 !! Can anybody
help?! How do I get it to recognise that the answer is 00:01:20 ??? thank you


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
Excel could not save all the data and formatting you recently ad.. Houndstooth Excel Worksheet Functions 0 April 18th 05 03:05 PM
Formatting a excel sheet that has been created using DTS. Russell Excel Discussion (Misc queries) 1 January 20th 05 10:20 PM
Excel Sort function should not sort the cell formatting! Lisa D.N.1 Excel Worksheet Functions 1 December 28th 04 08:37 PM
Lotus 123 save as excel workbook and maintain formatting? Don Excel Discussion (Misc queries) 0 December 8th 04 12:15 AM
Lotus 123 save as excel workbook and maintain formatting? Don Excel Discussion (Misc queries) 0 December 8th 04 12:11 AM


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