ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   excel 2003 zero as last decimal again (https://www.excelbanter.com/excel-worksheet-functions/235965-excel-2003-zero-last-decimal-again.html)

Jarle

excel 2003 zero as last decimal again
 
Hi
In an worksheet I need to have same number of decimals as an other column
have. This is the formula I'm using: =IF('Res
1'!I8="";"";IF(H8="<";ROUNDUP(F8;1);IF(H8<0,3;ROUN D(F8;2);ROUND(F8;1))))
The result in this cell could be any positive number. I need to have the
decimals even if they are zero, witch is the problem. Excel doesn't recognize
zero as a significant number.
Suggestions?

NBVC[_80_]

excel 2003 zero as last decimal again
 

You can have them result in text strings that look like numbers...


Code:
--------------------
=IF('Res 1'!I8="";"";IF(H8="<";TEXT(ROUNDUP(F8;1);"0.0");IF (H8<0,3;TEXT(ROUND(F8;2);"0.00");TEXT(ROUND(F8;1); "0.0"))))
--------------------


--
NBVC

Where there is a will there are many ways.
'The Code Cage' (http;//www.thecodecage.com)
------------------------------------------------------------------------
NBVC's Profile: http://www.thecodecage.com/forumz/member.php?userid=74
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=112935



All times are GMT +1. The time now is 07:11 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
ExcelBanter.com