Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Displaying negative time

Hi everyone,
first time on here so hope you can help me.

I use Excel (2003) for recording employee time / flexi hours. This is
allowed to go into a negative but I can't seem to display this. The formula
calculates fine and when the time is positive is shown in the time format (ie
15:30 etc) but when it is negative I just get #### which usually means the
column needs widening but this doesn't make any difference.
Any ideas anyone?
Thanks

--
Babs - Leicester UK
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Displaying negative time

Babs,
Excel does not let you have negative time (or date) value
Some help may be obtained from
http://j-walk.com/ss/excel/usertips/tip051.htm
http://exceltip.com/st/Negative_time...Excel/525.html
http://www.techonthenet.com/excel/qu...time_calcs.php
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Babs" wrote in message
...
Hi everyone,
first time on here so hope you can help me.

I use Excel (2003) for recording employee time / flexi hours. This is
allowed to go into a negative but I can't seem to display this. The
formula
calculates fine and when the time is positive is shown in the time format
(ie
15:30 etc) but when it is negative I just get #### which usually means
the
column needs widening but this doesn't make any difference.
Any ideas anyone?
Thanks

--
Babs - Leicester UK



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Displaying negative time

You can display negative time if you're using the 1904 base date.

In xl2003 menus:
Tools|Options|Calculation tab|check "1904 date system"

Be aware that your existing dates will be now be off by 4 years and one day.
You can fix this, though. But a bigger problem may be when you copy dates from
one workbook to another (each using different date systems).

Saved from a previous post:

Be aware that any existing date will now be off by 4 years and 1 day. And
copying dates between workbooks becomes a problem, too.

One workbook was using a base year of 1900 and the other was using 1904.
(tools|options|calculation tab|1904 date system)

One way to add those four years back is to find an empty cell, put 1462 into
that cell.

Copy that cell.

Select your range that contains the dates. Edit|PasteSpecial|click Add (in the
operation box).

You may have to reformat the cell as a date (mine turned to a 5 digit number).
But it should work.

You may want to do it against a copy...just in case.

(I'm not sure which one you'll fix. You may want to edit|pastespecial|click
subtract.)

Most windows users use 1900 as the base date. Mac users (mostly??) use 1904 as
the base date.

Babs wrote:

Hi everyone,
first time on here so hope you can help me.

I use Excel (2003) for recording employee time / flexi hours. This is
allowed to go into a negative but I can't seem to display this. The formula
calculates fine and when the time is positive is shown in the time format (ie
15:30 etc) but when it is negative I just get #### which usually means the
column needs widening but this doesn't make any difference.
Any ideas anyone?
Thanks

--
Babs - Leicester UK


--

Dave Peterson
  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Displaying negative time

The only way to display negative times is to switch to the 1904 date system.
However, this will change every date in your spreadsheet by 4 years and 1
day, so for most people it's impractical.

Excel will do all the calculations, it just won't *display* negative times.
An alternative, therefore, may be to display decimal hours rather than
times. To do this, multiply your result by 24, and format as a number (or
general).

Is this something you can work with?

Regards,
Fred.

"Babs" wrote in message
...
Hi everyone,
first time on here so hope you can help me.

I use Excel (2003) for recording employee time / flexi hours. This is
allowed to go into a negative but I can't seem to display this. The
formula
calculates fine and when the time is positive is shown in the time format
(ie
15:30 etc) but when it is negative I just get #### which usually means
the
column needs widening but this doesn't make any difference.
Any ideas anyone?
Thanks

--
Babs - Leicester UK


  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,440
Default Displaying negative time

Although Excel can't display negative times, the undelying value is still
correct, so you can include them in calculations like SUM().
To display them, you would need a separate cell like

=IF(C10,TEXT(C1,"hh:mm:ss"),"-"&TEXT(ABS(C1),"hh:mm:ss"))

Of course that is text, so only for display, not for calculation

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Bernard Liengme" wrote in message
...
Babs,
Excel does not let you have negative time (or date) value
Some help may be obtained from
http://j-walk.com/ss/excel/usertips/tip051.htm
http://exceltip.com/st/Negative_time...Excel/525.html
http://www.techonthenet.com/excel/qu...time_calcs.php
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Babs" wrote in message
...
Hi everyone,
first time on here so hope you can help me.

I use Excel (2003) for recording employee time / flexi hours. This is
allowed to go into a negative but I can't seem to display this. The
formula
calculates fine and when the time is positive is shown in the time format
(ie
15:30 etc) but when it is negative I just get #### which usually means
the
column needs widening but this doesn't make any difference.
Any ideas anyone?
Thanks

--
Babs - Leicester UK






  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Displaying negative time

Many thanks Niek,
I prefer your option rather than changing the date system so I've inserted a
row and used your formula which works fine! ...... the next question is can
I now use conditional formatting to make the negative (text) time show in red
& bold! I have tried and it doesn't seem to work but of course it's now text
not a number below zero.

At lease it does show the time with a - (minus) sign so I'm please with that
and I can hide the calculating cell if needs,
thanks again
--
Babs - Leicester UK


"Niek Otten" wrote:

Although Excel can't display negative times, the undelying value is still
correct, so you can include them in calculations like SUM().
To display them, you would need a separate cell like

=IF(C10,TEXT(C1,"hh:mm:ss"),"-"&TEXT(ABS(C1),"hh:mm:ss"))

Of course that is text, so only for display, not for calculation

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Bernard Liengme" wrote in message
...
Babs,
Excel does not let you have negative time (or date) value
Some help may be obtained from
http://j-walk.com/ss/excel/usertips/tip051.htm
http://exceltip.com/st/Negative_time...Excel/525.html
http://www.techonthenet.com/excel/qu...time_calcs.php
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Babs" wrote in message
...
Hi everyone,
first time on here so hope you can help me.

I use Excel (2003) for recording employee time / flexi hours. This is
allowed to go into a negative but I can't seem to display this. The
formula
calculates fine and when the time is positive is shown in the time format
(ie
15:30 etc) but when it is negative I just get #### which usually means
the
column needs widening but this doesn't make any difference.
Any ideas anyone?
Thanks

--
Babs - Leicester UK




  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,389
Default Displaying negative time

You can still use conditional formatting, you just have to do it for text,
not a number. Use a formula like:
=left(a1,1)="-"

Regards
Fred

"Babs" wrote in message
...
Many thanks Niek,
I prefer your option rather than changing the date system so I've inserted
a
row and used your formula which works fine! ...... the next question is
can
I now use conditional formatting to make the negative (text) time show in
red
& bold! I have tried and it doesn't seem to work but of course it's now
text
not a number below zero.

At lease it does show the time with a - (minus) sign so I'm please with
that
and I can hide the calculating cell if needs,
thanks again
--
Babs - Leicester UK


"Niek Otten" wrote:

Although Excel can't display negative times, the undelying value is still
correct, so you can include them in calculations like SUM().
To display them, you would need a separate cell like

=IF(C10,TEXT(C1,"hh:mm:ss"),"-"&TEXT(ABS(C1),"hh:mm:ss"))

Of course that is text, so only for display, not for calculation

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Bernard Liengme" wrote in message
...
Babs,
Excel does not let you have negative time (or date) value
Some help may be obtained from
http://j-walk.com/ss/excel/usertips/tip051.htm
http://exceltip.com/st/Negative_time...Excel/525.html
http://www.techonthenet.com/excel/qu...time_calcs.php
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Babs" wrote in message
...
Hi everyone,
first time on here so hope you can help me.

I use Excel (2003) for recording employee time / flexi hours. This is
allowed to go into a negative but I can't seem to display this. The
formula
calculates fine and when the time is positive is shown in the time
format
(ie
15:30 etc) but when it is negative I just get #### which usually
means
the
column needs widening but this doesn't make any difference.
Any ideas anyone?
Thanks

--
Babs - Leicester UK




  #8   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 38
Default Displaying negative time

Absolutely brilliant! I'd never have know how to do this, many thanks for
your help

--
Babs - Leicester UK


"Fred Smith" wrote:

You can still use conditional formatting, you just have to do it for text,
not a number. Use a formula like:
=left(a1,1)="-"

Regards
Fred

"Babs" wrote in message
...
Many thanks Niek,
I prefer your option rather than changing the date system so I've inserted
a
row and used your formula which works fine! ...... the next question is
can
I now use conditional formatting to make the negative (text) time show in
red
& bold! I have tried and it doesn't seem to work but of course it's now
text
not a number below zero.

At lease it does show the time with a - (minus) sign so I'm please with
that
and I can hide the calculating cell if needs,
thanks again
--
Babs - Leicester UK


"Niek Otten" wrote:

Although Excel can't display negative times, the undelying value is still
correct, so you can include them in calculations like SUM().
To display them, you would need a separate cell like

=IF(C10,TEXT(C1,"hh:mm:ss"),"-"&TEXT(ABS(C1),"hh:mm:ss"))

Of course that is text, so only for display, not for calculation

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Bernard Liengme" wrote in message
...
Babs,
Excel does not let you have negative time (or date) value
Some help may be obtained from
http://j-walk.com/ss/excel/usertips/tip051.htm
http://exceltip.com/st/Negative_time...Excel/525.html
http://www.techonthenet.com/excel/qu...time_calcs.php
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Babs" wrote in message
...
Hi everyone,
first time on here so hope you can help me.

I use Excel (2003) for recording employee time / flexi hours. This is
allowed to go into a negative but I can't seem to display this. The
formula
calculates fine and when the time is positive is shown in the time
format
(ie
15:30 etc) but when it is negative I just get #### which usually
means
the
column needs widening but this doesn't make any difference.
Any ideas anyone?
Thanks

--
Babs - Leicester UK





  #9   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,104
Default Displaying negative time

Thanks, Niek, for putting me straight. I do not work much with time and have
always assumed the #### was an error rather than just a message "I cannot
show you that"
best wishes
--
Bernard

"Niek Otten" wrote in message
...
Although Excel can't display negative times, the undelying value is still
correct, so you can include them in calculations like SUM().
To display them, you would need a separate cell like

=IF(C10,TEXT(C1,"hh:mm:ss"),"-"&TEXT(ABS(C1),"hh:mm:ss"))

Of course that is text, so only for display, not for calculation

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Bernard Liengme" wrote in message
...
Babs,
Excel does not let you have negative time (or date) value
Some help may be obtained from
http://j-walk.com/ss/excel/usertips/tip051.htm
http://exceltip.com/st/Negative_time...Excel/525.html
http://www.techonthenet.com/excel/qu...time_calcs.php
best wishes
--
Bernard V Liengme
Microsoft Excel MVP
http://people.stfx.ca/bliengme
remove caps from email

"Babs" wrote in message
...
Hi everyone,
first time on here so hope you can help me.

I use Excel (2003) for recording employee time / flexi hours. This is
allowed to go into a negative but I can't seem to display this. The
formula
calculates fine and when the time is positive is shown in the time
format (ie
15:30 etc) but when it is negative I just get #### which usually means
the
column needs widening but this doesn't make any difference.
Any ideas anyone?
Thanks

--
Babs - Leicester UK






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
Displaying negative [h]:mm:ss The Rook[_2_] Excel Discussion (Misc queries) 2 February 10th 09 12:32 PM
Displaying negative hh:mm:ss The Rook[_2_] Excel Discussion (Misc queries) 1 February 10th 09 10:43 AM
Displaying negative time in excel Six Sigma Blackbelt Excel Worksheet Functions 5 November 10th 06 10:42 PM
Displaying Negative % JohnHill Excel Discussion (Misc queries) 2 April 26th 06 06:34 AM
More problems displaying a negative time SheriffCassidy Excel Discussion (Misc queries) 1 June 3rd 05 02:15 AM


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