Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 16
Default How to display zero in a number to 1dp e.g. 14.0 without stripping the zero

I have the following formula in a cell:

="" & IF(B3="","",IF(ISNUMBER(B3),ROUND(100*B3,1),B3)), it is reading
the value 13.96% (cell B3). The displayed value is being rounded to
one decimal place, i.e. 14.0, however, the actual value being
displayed is 14, the '.0' is being stripped. How can I force it to
display the '.0'? I have tried using the TEXT function but wherever I
put it in the above formula it give me an error.

Any ideas?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 638
Default How to display zero in a number to 1dp e.g. 14.0 without stripping the zero

=IF(B3="","",IF(ISNUMBER(B3),TEXT(ROUND(100*B3,1), "0.0"),B3))

wrote:
I have the following formula in a cell:

="" & IF(B3="","",IF(ISNUMBER(B3),ROUND(100*B3,1),B3)), it is reading
the value 13.96% (cell B3). The displayed value is being rounded to
one decimal place, i.e. 14.0, however, the actual value being
displayed is 14, the '.0' is being stripped. How can I force it to
display the '.0'? I have tried using the TEXT function but wherever I
put it in the above formula it give me an error.

Any ideas?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default How to display zero in a number to 1dp e.g. 14.0 without stripping the zero

I don't understand what the first part is

=""

it doesn't do anything, if you want text use the text function

=IF(B3="","",IF(ISNUMBER(B3),TEXT(ROUND(100*B3,1), "0.0"),B3))


--


Regards,


Peo Sjoblom




wrote in message
ups.com...
I have the following formula in a cell:

="" & IF(B3="","",IF(ISNUMBER(B3),ROUND(100*B3,1),B3)), it is reading
the value 13.96% (cell B3). The displayed value is being rounded to
one decimal place, i.e. 14.0, however, the actual value being
displayed is 14, the '.0' is being stripped. How can I force it to
display the '.0'? I have tried using the TEXT function but wherever I
put it in the above formula it give me an error.

Any ideas?



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
Stripping The First Four Characters from a value Rob Excel Discussion (Misc queries) 4 January 26th 07 06:31 PM
Stripping text before a number (alpha or numeric) data_mattress Excel Worksheet Functions 10 April 12th 06 02:19 AM
display total above certain number and display MGD Excel Discussion (Misc queries) 3 March 4th 06 05:03 PM
Stripping and Conversion. Rodney New Users to Excel 28 June 27th 05 05:51 AM
Stripping mixed number and text Kevin Excel Worksheet Functions 2 December 9th 04 05:49 PM


All times are GMT +1. The time now is 06:19 AM.

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"