Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
K M
 
Posts: n/a
Default Changing display of decimal value based on the value in the cell

If the numeric value in the cell is less than or equal to 5 I would like the
number to be displayed with one decimal value. If in the same cell the value
is 5 I would like the number to be displayed with 0 decimal places. The cell
I am talking about is itself composed of ROUND function.

How can this be done?
  #4   Report Post  
Ragdyer
 
Posts: n/a
Default

Try custom format:

[<=5]###.0;[5]###;General

--
HTH,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"K M" <K wrote in message
...
If the numeric value in the cell is less than or equal to 5 I would like

the
number to be displayed with one decimal value. If in the same cell the

value
is 5 I would like the number to be displayed with 0 decimal places. The

cell
I am talking about is itself composed of ROUND function.

How can this be done?


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
Format a cell to display decimal hours. Fred Holmes Excel Discussion (Misc queries) 2 March 18th 05 03:32 PM
Display message based on condition Pat Excel Worksheet Functions 1 March 7th 05 10:52 PM
Sub-Totalling Based upon a changing field Mark B Excel Worksheet Functions 1 February 22nd 05 06:51 PM
changing value of a cell based on another cell color Gary Excel Discussion (Misc queries) 2 January 30th 05 10:19 AM
Combine & Display “Fixed” & “Automatically Updated” Date Parts texcel Excel Worksheet Functions 1 November 1st 04 05:38 PM


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