Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel
|
|||
|
|||
Displaying decimal places
Is there a way for me to have the data in a cell determine how many
decimal places should be displayed? For example, if the formula in the cell results in a number that is greater than (or equal to) 10, then I'd like to have zero (0) decimal places actually displayed. However, if the formula in the cell results in a number that is less than 10, I'd like to have zero (0) decimal places displayed. Thanks for your help. |
#2
Posted to microsoft.public.excel.misc,microsoft.public.excel.worksheet.functions,microsoft.public.excel
|
|||
|
|||
Displaying decimal places
I don't undersatnd this question, if it is = 10 then zero decimals, if it is
less than 10 zero decimals? Did you type the questuion correctly or am I seeing things? "KnowledgeSeeker" wrote: Is there a way for me to have the data in a cell determine how many decimal places should be displayed? For example, if the formula in the cell results in a number that is greater than (or equal to) 10, then I'd like to have zero (0) decimal places actually displayed. However, if the formula in the cell results in a number that is less than 10, I'd like to have zero (0) decimal places displayed. Thanks for your help. |
#3
Posted to microsoft.public.excel.misc,microsoft.public.excel.worksheet.functions,microsoft.public.excel
|
|||
|
|||
Displaying decimal places
have a look at http://peltiertech.com/Excel/NumberFormats.html
-- John MOS Master Instructor Office 2000, 2002 & 2003 Please reply & rate any replies you get Ice Hockey rules (especially the Wightlink Raiders) "KnowledgeSeeker" wrote: Is there a way for me to have the data in a cell determine how many decimal places should be displayed? For example, if the formula in the cell results in a number that is greater than (or equal to) 10, then I'd like to have zero (0) decimal places actually displayed. However, if the formula in the cell results in a number that is less than 10, I'd like to have zero (0) decimal places displayed. Thanks for your help. |
#4
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel
|
|||
|
|||
Displaying decimal places
Hello,
Without VBA you will need a helper cell: =TEXT(A1,"0"&IF(A1<10,".0","")) Regards, Bernd |
#5
Posted to microsoft.public.excel.worksheet.functions,microsoft.public.excel.misc,microsoft.public.excel
|
|||
|
|||
Displaying decimal places
"Bernd" wrote...
Without VBA you will need a helper cell: =TEXT(A1,"0"&IF(A1<10,".0","")) Wrong. Could use the custom number format [=10]0;[<=-10]-0;0.0 |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Displaying decimal places | Excel Discussion (Misc queries) | |||
Decimal Places | Excel Discussion (Misc queries) | |||
Subtracting two 2-decimal place numbers gives result 13-decimal places? | Excel Worksheet Functions | |||
If then statement displaying 2 or 3 decimal places | Excel Worksheet Functions | |||
FIXED 2 DECIMAL PLACES, MUST ENTER ALL ZEROES AFTER DECIMAL POINT. | Excel Discussion (Misc queries) |