format number to 3 decmals

G

Guest

I need a cell to format to 3 decimal points max, but I dont want the .000 if
the number is whole.
For example, I need a cell with 33.8140226 to read as 33.814, but if the
cell is 33, I want it to be 33, not 33.000
If I use general format, I can get the 33.814, but then I get 33.000 when I
use a whole number.

Any help would be appreciated.
 
R

Rick Rothstein \(MVP - VB\)

There is a minor problem with that custom format though... whole numbers
will have a decimal point after them.

Rick
 

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