How to Reduce the Font Size of Decimal Values in Excel
Question details
The user wants to reduce the font size of only the decimal or cents portion of numeric values in an Excel worksheet.

- Product
- WPS Office Spreadsheets / Microsoft Excel
- Device & OS
- not provided
- Scenario
- A user is formatting a worksheet such as an invoice or report and wants the decimal portion of values to appear smaller than the whole-number portion.
- Observed behavior
- Excel cannot apply a different font size to only the decimal portion while keeping the cell as a number. The value must be converted to text or handled with a workaround such as separate columns or VBA.
Decide whether the values must remain numeric for calculations. If they do, avoid text-based formatting methods because converted text may break SUM and other formulas.
Use Separate Columns for Whole Numbers and Decimal Parts
Best when you need visual formatting and still want reliable calculations without converting the original numbers to text.
Add two columns next to your value column, for example Whole and Cents.
In the Whole column, enter =INT(A2) and apply the normal font size.
In the Cents column, enter =ROUND(100*(A2-INT(A2)),0), then select the Cents cells and choose a smaller font size from the Home tab.

Use VBA to Display Decimals in a Smaller Font Without Converting the Value
Use when you need the original numeric cell to remain unchanged and are comfortable running a macro.
Convert Numbers to Text and Format the Decimal Portion Manually
Use only for static displays where you will not need to calculate the value later.
Create Decimal Font Size Formatting with WPS Office Spreadsheets
Use WPS Office Spreadsheets to split whole and decimal parts into columns, apply different font sizes, and keep .xlsx formulas and formatting intact.
- 1. Open your workbook in WPS Office: Launch WPS Office, open the .xlsx file, and click the worksheet containing the decimal values.
- 2. Add helper columns: Select the two columns next to your numbers, then type Whole and Cents as headers.
- 3. Enter whole and cents formulas: In the Whole cell enter =INT(A2), and in the Cents cell enter =ROUND(100*(A2-INT(A2)),0).
- 4. Format the cents font size: Select the Cents cells, click Home > Font Size, choose a smaller size, and use Ctrl+1 > Number > Custom to display .00.
- 5. Save as Excel workbook: Press Ctrl+S and keep the .xlsx format so the file remains compatible with Microsoft Excel.

Frequently Asked Questions
Can Excel format only the decimal part of a number?
No. Excel treats a numeric cell as a single value, so you cannot apply a different font size to just the decimal characters. You need helper columns, text conversion, or VBA.
Will converting a number to text break my formulas?
Yes. When you use TEXT or type an apostrophe, SUM and other numeric functions may ignore the cell. Keep a numeric copy or use helper columns if calculations are required.
What formula extracts the cents portion from a value?
In WPS Spreadsheets or Excel, use =ROUND(100*(A2-INT(A2)),0) to get the cents as a whole number, then format it with a smaller font.
How do I keep totals correct when using separate Whole and Cents columns?
Sum the original numeric column and split only the total, or use formulas such as =INT(result) for the whole part and =ROUND(100*(result-INT(result)),0) for cents.
Does WPS Office support VBA macros for this formatting?
WPS Office Spreadsheets supports macros in compatible versions. If your version does not support VBA, use the separate-column method, which does not require macros.




