How to count (identify) and change decimal place in Excel?
This article provides detailed guidance on how to count and identify the number of decimal places in Excel, as well as several practical ways to change decimal places for numbers within a specific range or throughout the entire worksheet. Understanding and adjusting decimal places is crucial in data analysis, financial reports, and scientific calculations where precision is required and consistency in number formatting improves readability and accuracy.
Suppose you need to count and adjust decimal places for numbers in Column A, as shown below:

Count and identify the decimal place of a number
Change the decimal place in a given range
Change the decimal place in the whole worksheet
Excel Formula - Use ROUND, ROUNDUP, or ROUNDDOWN functions to change actual values
Count and identify the decimal place of a number
In spreadsheets, it's common to encounter numbers with varying numbers of decimal places, especially when importing data from different sources. To standardize or analyze such data, you may need to count the digits after the decimal point for each value. Here is an effective approach:
In any blank cell, for example, cell B2, input the formula:
=IF(A2=INT(A2),0,LEN(MID(A2-INT(A2),FIND(".",A2,1),LEN(A2)-FIND(".",A2,1)))) After entering the formula, press Enter. The result in B2 will display the number of decimal places for the value in A2. For instance, if the original value in A2 is 18.25893, B2 will show 5. You can then copy and paste this formula down to other rows to identify decimal places for the entire column. Simply drag the fill handle down from B2 or double-click it to auto-fill adjacent cells.

Tip: This method only works properly if your data is formatted as numbers, not as text. If you encounter formulas returning errors, check that decimal points are entered correctly and that numbers are not stored as text strings.

Unlock Excel Magic with Kutools AI
- Smart Execution: Perform cell operations, analyze data, and create charts—all driven by simple commands.
- Custom Formulas: Generate tailored formulas to streamline your workflows.
- VBA Coding: Write and implement VBA code effortlessly.
- Formula Interpretation: Understand complex formulas with ease.
- Text Translation: Break language barriers within your spreadsheets.
Change the decimal place in a given range
When you need to standardize the number of decimal places for a selection of numbers, such as for reporting or calculation accuracy, the following methods allow you to adjust the display of decimal places within a selected cell range:
1. Select the numbers you intend to change (for example, the range A2:A6).
2. Next, go to the Home tab and locate the Number group. Click either the Decrease Decimal or Increase Decimal button as needed. This will adjust the displayed decimal places for all values in your selection.

Once clicked, the values in the selection will appear with the updated decimal places. The underlying values remain unchanged unless you use additional steps, such as rounding or pasting values. See below for illustration:

![]()

Alternatively, you can use the Format Cells function to specify a consistent number of decimal places:
1. Select the desired range and right-click to open the context menu, then choose Format Cells.
2. In the Format Cells dialog box, select Number from the Category list and specify the desired number of decimal places in the Decimal places box. Click OK to complete the change.

After confirming, the displayed values are now unified to your chosen precision:

![]()

Note: Both approaches affect only how the numbers are displayed, not their stored values.
Change the decimal place in the whole worksheet
You can also establish a default number of decimal places for all future entries in the worksheet. This is useful for preventing inconsistent decimal places during data input or when working in environments (such as accounting systems) where a fixed precision is required for all numbers.
1. First, open Excel’s options menu: click File > Options.
2. In the Excel Options dialog, select Advanced from the sidebar, then scroll to the Editing options section.
3. Enable Automatically insert a decimal point and specify your preferred number of decimal places in the Places box.
4. Click OK to apply the changes. Now, when you type numbers into the worksheet, Excel automatically includes the decimal point according to your specified setting. For example, if you enter the value "1234" and the decimal setting is 2, Excel converts this to "12.34" immediately.

However, this setting only affects new inputs. Existing numbers won't be reformatted automatically. Also, if you manually enter a number with a decimal point (such as16.25893), Excel will retain your original entry without rounding or truncating decimals.
Excel Formula - Use ROUND, ROUNDUP, ROUNDDOWN functions to change actual decimal value
To programmatically alter stored values rather than just their format, Excel offers built-in formulas. These are beneficial for calculations requiring specific rounding behavior and allow for clear documentation via formula logic.
Applicable scenario: Calculating tax, financial figures, or scientific values which must follow precise rounding rules. Also useful when you want to easily audit or recalculate results.
1. Suppose you want to round a number in cell A2 to two decimal places. Enter the following formula in cell B2:
=ROUND(A2,2) 2. Press Enter, then copy the formula down to other rows as needed by dragging the fill handle or copying and pasting.
Parameter explanations: The first parameter (A2) is the reference to your number; the second parameter (2) sets the desired count of decimal places. To always round up or down, substitute ROUNDUP or ROUNDDOWN respectively:
=ROUNDUP(A2,2) =ROUNDDOWN(A2,2) After applying, you can copy the formula results and paste them back over the original values using Paste Special (Values), to overwrite the source data if needed.
Best Office Productivity Tools
Supercharge Your Excel Skills with Kutools for Excel, and Experience Efficiency Like Never Before. Kutools for Excel Offers Over 300 Advanced Features to Boost Productivity and Save Time. Click Here to Get The Feature You Need The Most...
Office Tab Brings Tabbed interface to Office, and Make Your Work Much Easier
- Enable tabbed editing and reading in Word, Excel, PowerPoint, Publisher, Access, Visio and Project.
- Open and create multiple documents in new tabs of the same window, rather than in new windows.
- Increases your productivity by 50%, and reduces hundreds of mouse clicks for you every day!
All Kutools add-ins. One installer
Kutools for Office suite bundles add-ins for Excel, Word, Outlook & PowerPoint plus Office Tab Pro, which is ideal for teams working across Office apps.
- All-in-one suite — Excel, Word, Outlook & PowerPoint add-ins + Office Tab Pro
- One installer, one license — set up in minutes (MSI-ready)
- Works better together — streamlined productivity across Office apps
- 30-day full-featured trial — no registration, no credit card
- Best value — save vs buying individual add-in