Computing.Net > Forums > Office Software > Negative time values in Excel

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Negative time values in Excel

Reply to Message Icon

Name: Martyn
Date: March 18, 2006 at 08:01:55 Pacific
OS: xp
CPU/Ram: don't know
Product: Toshiba
Comment:

Hello,

I am a self taught Excel user so I apologise if the answer to my query is a simple one. I can do basic things but one simple calculation is eluding me and I’ve spent hours trying to sort it. I have a simple spreadsheet that calculates (amongst many other things) time in hours and minutes. This works fine providing there are positive values in the answer however, i cannot get it to show negative values. eg 12 hrs + 4 hrs = 16 hrs - ok. But if its 12 hrs minus 13 hrs it can't do anything with it and just shows '##########'. I can't believe it can't be done some how. Please can someone help.

Roadrunner



Sponsored Link
Ads by Google

Response Number 1
Name: Bryco
Date: March 18, 2006 at 08:25:33 Pacific
Reply:

'##########'

Is simply showing that the value in that cell is larger in width then the displayed width of your column.

Expand the width of the column so you can see the entire value within it.

Let's say your noted cell is A1.
Move the cursor over and in between columns A and B and then double click it. It will auto expand to the width of the largest value in any cell within that column.

HTH
Bryan


0

Response Number 2
Name: Martyn
Date: March 19, 2006 at 07:41:35 Pacific
Reply:

Hi Bryan,
Thanks for the reply, if only it was that simple. I know about the '####' when the data is larger than the cell, but this is what you also get when the cell contains a negative time value. If you hold the cursor over the cell a popup tells me that 'negative dates and times are displayed as ######’. Try it yourself and see what you get. Do I have to calculate it in a different way? I don't know, but there must be a way of displaying it or am I drifting off into Martyn's world again where when it comes to computing all things are possible!


Roadrunner


0

Response Number 3
Name: cach
Date: March 20, 2006 at 10:16:14 Pacific
Reply:

If you change the format of the ####### cell to a number, then the result will be stated in terms of number of days which overcomes the negative problem. By multiplying by 24 you can convert this to hours, with a little manipulation this can be converted to minutes/seconds


Cliff


0

Response Number 4
Name: Martyn
Date: March 21, 2006 at 02:14:30 Pacific
Reply:

Thanks Cliff that seems to work ok. Do you know if the =TEXT(),"h:mm" formula can be adapted to work with negative values?

Martyn

Roadrunner


0

Response Number 5
Name: cach
Date: March 21, 2006 at 03:03:15 Pacific
Reply:

Martyn

Sorry I don't know how.

Cliff


0

Related Posts

See More



Sponsored Link
Ads by Google
Reply to Message Icon

Office 2003 unable to sav... Vba help



Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Office Software Forum Home


Sponsored links

Ads by Google


Results for: Negative time values in Excel

Creating a Time card in Excel www.computing.net/answers/office/creating-a-time-card-in-excel/8637.html

Converting negative time in Excel www.computing.net/answers/office/converting-negative-time-in-excel/8288.html

Comparing text values in excel and www.computing.net/answers/office/comparing-text-values-in-excel-and-/7824.html