Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Not rounding when I do not want to display 0's

I have an Excel timesheet that I don't want to display the 0's in the total
hours column when there isn't any time for that day. I did the 0;-0;;@ to
make the 0's go away, but now the total hours round to a whole number when I
need it to read a dismal. Is there a way I can have both?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,856
Default Not rounding when I do not want to display 0's

You could apply conditional formatting to the total hours column, such
that if the cell contains zero then use a white foreground colour (on
a white backgound) so that the cell appears empty. You can then apply
a decimal format for numbers that are not zero.

Hope this helps.

Pete

On Feb 5, 12:13*am, Melissa_payroll
wrote:
I have an Excel timesheet that I don't want to display the 0's in the total
hours column when there isn't any time for that day. *I did the 0;-0;;@ to
make the 0's go away, but now the total hours round to a whole number when I
need it to read a dismal. *Is there a way I can have both?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Not rounding when I do not want to display 0's

Try

[h]:mm;;"";@

--
Jacob


"Melissa_payroll" wrote:

I have an Excel timesheet that I don't want to display the 0's in the total
hours column when there isn't any time for that day. I did the 0;-0;;@ to
make the 0's go away, but now the total hours round to a whole number when I
need it to read a dismal. Is there a way I can have both?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Not rounding when I do not want to display 0's

I put in the time from 8:30-15:45 and instead of it giving me 7.25 it gave me
174:00. Any other suggestions?

"Jacob Skaria" wrote:

Try

[h]:mm;;"";@

--
Jacob


"Melissa_payroll" wrote:

I have an Excel timesheet that I don't want to display the 0's in the total
hours column when there isn't any time for that day. I did the 0;-0;;@ to
make the 0's go away, but now the total hours round to a whole number when I
need it to read a dismal. Is there a way I can have both?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Not rounding when I do not want to display 0's

That sounds like a great idea, however, how do you do conditional formatting?
:)

"Pete_UK" wrote:

You could apply conditional formatting to the total hours column, such
that if the cell contains zero then use a white foreground colour (on
a white backgound) so that the cell appears empty. You can then apply
a decimal format for numbers that are not zero.

Hope this helps.

Pete

On Feb 5, 12:13 am, Melissa_payroll
wrote:
I have an Excel timesheet that I don't want to display the 0's in the total
hours column when there isn't any time for that day. I did the 0;-0;;@ to
make the 0's go away, but now the total hours round to a whole number when I
need it to read a dismal. Is there a way I can have both?


.



  #6   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Not rounding when I do not want to display 0's

Have you tried Excel help?

You can access from Help on menu in 2003 or by clicking on the ? in 2007


Gord Dibben MS Excel MVP

On Fri, 5 Feb 2010 12:49:01 -0800, Melissa_payroll
wrote:

That sounds like a great idea, however, how do you do conditional formatting?
:)

"Pete_UK" wrote:

You could apply conditional formatting to the total hours column, such
that if the cell contains zero then use a white foreground colour (on
a white backgound) so that the cell appears empty. You can then apply
a decimal format for numbers that are not zero.

Hope this helps.

Pete

On Feb 5, 12:13 am, Melissa_payroll
wrote:
I have an Excel timesheet that I don't want to display the 0's in the total
hours column when there isn't any time for that day. I did the 0;-0;;@ to
make the 0's go away, but now the total hours round to a whole number when I
need it to read a dismal. Is there a way I can have both?


.


  #7   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Not rounding when I do not want to display 0's

If you multiplied the time by 24 to get an answer in decimal hours, then you
don't want to format as hours and minutes. You should format it as General
or Number.

If you want to se it as an Excel time in hours and minutes, then don't
multiply it by 24.
--
David Biddulph

Melissa_payroll wrote:
I put in the time from 8:30-15:45 and instead of it giving me 7.25 it
gave me 174:00. Any other suggestions?

"Jacob Skaria" wrote:

Try

[h]:mm;;"";@

--
Jacob


"Melissa_payroll" wrote:

I have an Excel timesheet that I don't want to display the 0's in
the total hours column when there isn't any time for that day. I
did the 0;-0;;@ to make the 0's go away, but now the total hours
round to a whole number when I need it to read a dismal. Is there
a way I can have both?



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
ROUNDING FORMULA =ROUND(B12/$B$10,1) ROUNDING TO HIGH SunshineinFt.Myers[_2_] Excel Worksheet Functions 7 March 5th 09 06:41 PM
some cells display formulas, some display values mvivelo Excel Discussion (Misc queries) 1 March 27th 08 10:09 PM
I need a formula with rounding up & rounding down to the nearest . Tony Kay Excel Worksheet Functions 3 May 29th 07 11:13 PM
How to display remaining txt file which overflowed MsgBox display? EagleOne Excel Discussion (Misc queries) 1 November 2nd 06 01:10 PM
Have Excel display an error rather than rounding # to fit column Frank Setting up and Configuration of Excel 1 July 25th 06 06:35 PM


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