#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 14
Default formatting cells

Thanks for all the help!! I got one for ya:

How can I format cells so they have at most 2 decimals places? So, if it is
a whole number, it will not add .00 at the end:

So,
4.14 = 4.14,
2 = 2, not 2.00

Thanks all you guys!
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 620
Default formatting cells

I can't think of a way of doing it purely by formatting, but you could use
=ROUND(A1,2) and format as General.

That would round 4.142 to 4.14 and display it as 4.14, but it would leave 2
as 2 and display it that way.
--
David Biddulph

"prana1" wrote in message
...
Thanks for all the help!! I got one for ya:

How can I format cells so they have at most 2 decimals places? So, if it
is
a whole number, it will not add .00 at the end:

So,
4.14 = 4.14,
2 = 2, not 2.00

Thanks all you guys!



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
Count cells that meetin conditional formatting criteria chad Excel Worksheet Functions 6 January 5th 07 10:30 AM
Deferring conditional formatting? Pheasant Plucker® Excel Discussion (Misc queries) 14 March 17th 06 08:17 PM
Conditional formatting...cont. from 9/25 Guenzak Excel Discussion (Misc queries) 4 September 26th 05 10:55 PM
Excel should allow more options for formatting cells rj123 Excel Worksheet Functions 0 July 23rd 05 03:45 AM
How to copy "edge" formatting to other cells. Sam Excel Discussion (Misc queries) 2 July 21st 05 01:23 PM


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