Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel 97 - formatting time formula results

Status
Not open for further replies.

pwilliams

MIS
Nov 20, 2000
15
GB
In column B I have a range of time in minutes and seconds (time format mm:ss.0) and the same in column C, Column D = C - B, if the answer is positive value then it formats fine, however if it is negative excel returns #############... I have even managed to get excel to turn the #### red indicating a negative value.

Any ideas anyone?

Thanks,
Pete
 
Hi,

You may need to create a custom type.

In Format / Cells. Select custom from the catagory list.

Apart from that, good luck.

Paul
 
Paul,

thanks for the suggestion, already tried that which is how i got the red ####... although i'm the first to admit i may have got the format slightly wrong.

cheers,
Pete
 
Looks like you can't have negative time. But you can still do it in hours by =(B1-A1)*24 and formatted as numbers with 2 decimals.
techsupportgirl@home.com
Brainbench MVP for Microsoft Word
 
Thanks for the site... i am sure it'll come in very handy at work!

Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top