How to Display Excel Percentages Without Trailing Zeros
Question details
The user wants to format percentage values in Excel so that they display up to a certain number of decimal places but automatically omit trailing zeros (e.g., showing 95% instead of 95.00%).

- Product
- Microsoft Excel
- Device & OS
- not provided
- Scenario
- Formatting percentage data for clean, dynamic display where decimal precision varies per cell.
- Observed behavior
- The goal is to achieve a dynamic percentage format that preserves entered decimal places without forcing uniform trailing zeros across all cells, overcoming the lack of a built-in General Percent format.
Ensure you have selected the specific cells or columns containing your percentage data before applying custom formats. Remember that in Excel, percentages are stored as decimal fractions (e.g., 95% is stored as 0.95), which is important when setting up formatting rules.
Use Custom Formatting and Conditional Rules to Remove Trailing Zeros
Apply a custom number format for decimals and a conditional format for whole numbers to perfectly display percentages without trailing zeros or hanging decimal points.
Excel does not have a built-in 'General Percent' format. By using custom digit placeholders (#) alongside conditional formatting, you can dynamically hide zeros at the end of decimal percentages and completely remove the decimal point for whole percentages.
Highlight all the cells containing the percentage values you want to format.
Press Ctrl + 1 (or right-click and choose 'Format Cells') to open the Format Cells dialog. Navigate to the 'Number' tab, select 'Custom', and enter '#.##%' (add more '#' symbols if you need more than two decimal places) in the 'Type' box, then click OK.
To prevent whole percentages from showing a hanging decimal point (like '20.%'), keep the cells highlighted and go to the Home tab > Conditional Formatting > New Rule.
Choose 'Use a formula to determine which cells to format'. Enter the formula '=MOD(A1*100,1)=0' (replace A1 with the address of your active cell) to accurately identify whole-number percentages.
Click the 'Format' button in the dialog, go to the 'Custom' category, enter '#%' as the format, and click OK on all windows to apply the changes.
Apply a Basic Custom Number Format (Up to Six Decimal Places)
A quick way to hide trailing zeros for decimals using only a custom format, though whole numbers will retain a hanging decimal point.
Format Percentages Perfectly in WPS Spreadsheet
WPS Spreadsheet provides comprehensive custom formatting tools that let you easily manage decimal places and dynamic data presentation, matching Microsoft Excel's capabilities perfectly.
- 1. Open your data in WPS: Launch WPS Spreadsheet and select the cells containing your percentage data.
- 2. Access cell formatting: Right-click the selected cells and choose 'Format Cells', or use the keyboard shortcut Ctrl + 1.
- 3. Apply custom placeholders: Under the 'Number' tab, select 'Custom' and input '#.##%' to automatically hide trailing zeros.
- 4. Refine with conditions: Use the 'Conditional Formatting' tool on the Home tab to set up dynamic rules for whole numbers exactly as you would in Excel.

Frequently Asked Questions
Why doesn't Excel have a built-in 'General' format for percentages?
Excel's default 'Percentage' format forces a fixed number of decimal places (usually two) to keep data aligned in standard financial columns. Unlike the standard 'General' format for regular numbers, Excel lacks a dynamic 'General Percent' format, requiring users to rely on Custom Formats to selectively hide trailing zeros.
What does the '#' symbol do in Excel custom formatting?
The '#' symbol acts as an optional digit placeholder. It instructs Excel to display a number only if it is significant (like a non-zero decimal value) but automatically hides it if it is an unnecessary trailing or leading zero.
Can I format percentages without decimals but keep them for other cells?
Yes, the best way to handle mixed precision is by using conditional formatting. You can apply a rule using the formula '=MOD(A1*100,1)=0' to detect whole percentages and apply the '#%' format specifically to them, while leaving decimals to display normally.
How do I round percentages to the nearest whole number instead of just hiding zeros?
If you want to permanently round values rather than just changing their visual display, you should use the '=ROUND()' function in your formula. Alternatively, you can select the cells and click the 'Decrease Decimal' button on the Home tab until no decimals are shown.




