Select the product you need help with
XL2000: Behavior of Numbers When Using Automatic Percent EntryArticle ID: 215203 - View products that this article applies to. This article was previously published under Q215203 On This PageSUMMARY
Microsoft Excel 2000 offers a new option to enable or disable automatic percent entry formatting, when you type numbers in cells that are formatted with the Percentage number format.
MORE INFORMATION
By default, when you type numbers in cells that are formatted with the Percentage number format, Microsoft Excel automatically changes these numbers to display as percentages according to the following rule:
Number Rule
--------------------------------------------------
All numbers less than 1 and Multiply by 100
not preceded with a zero and add % sign
All numbers greater than Just add % sign
or equal to 1
The following table illustrates this auto percent format feature:
Number Displayed Actual
typed result number
----------------------------------
1 1.00% 0.01
.1 10.00% 0.1
0.1 0.10% 0.001
-1 -1.00% -0.01
-.1 -10.00% -0.1
-0.1 -0.10% -0.001
Options Dialog BoxTo control the auto percent feature using the Options dialog box:
Visual Basic MacroYou can also turn the automatic percent feature on and off using a Microsoft Visual Basic for Applications macro. For example, the following statement when run in a subroutine turns the automatic percent entry feature off.If you type numbers in cells when the automatic percent entry feature is turned off, and you change the number format to something other than Percentage, or remove the number format in the affected cells, the numbers remain the same as what you typed. REFERENCESFor more information about automatic percent entry, click Microsoft Excel Help on the Help menu, type Show numbers as percentages in the Office Assistant or the Answer Wizard, and then click Search to view the topic. PropertiesArticle ID: 215203 - Last Review: September 25, 2003 - Revision: 3.0
|


Back to the top








