Hiding zero values

G

Guest

I am trying to formulate a time sheet in Excel. I have several rows of cells
where the employee can enter in hours worked for each day. Because othe
person in charge of time sheets doesn't want any zero values in the TOTALS
column visible, I selected a custom format to hide the zero values. The
problem is when I have that format selected, if the employee does put in a
number for hours work in that row, it will total up that row, but only puts
in a WHOLE number and will NOT put in any decimal points. So if the employee
puts in 1.50 or 1.25, it places a 1 in the TOTALS column. I cannot go in and
format the cell for the 2 decimal points because the custom format is in
there. How do I get around this by hiding the zero values if there are no
numeric info in the rows, but still have the 2 decimal places if there are
numbers? I am very new to Excel so I apologize if this has already been
answered. Thanks!
 
B

Barb Reinhardt

Format those cells to allow 2 decimal places by default
For the conditional format, put something like this in:

Cell value is equal to 0.
Make the background the same as the standard background and match the font
color to it.
 
G

Guest

Thanks, Barb and Roger!! It worked perfectly! I never thought it would be
something so simple.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top