Change the decimal places displayed for numbers

For numbers that are already entered on a worksheet (worksheet: The primary document that you use in Excel to store and work with data. Also called a spreadsheet. A worksheet consists of cells that are organized into columns and rows; a worksheet is always stored in a workbook.), you can increase or decrease the number of places that are displayed after the decimal point by using the Increase Decimal and Decrease Decimal buttons. By default, Excel displays 2 decimal places when you apply a built-in number format, such as a currency format or a percentage, to the cells or data. However, you can change the number of decimal places that you want to use when you apply a number format. To have Excel enter the decimal points for you, you can specify a fixed decimal point for numbers.

What do you want to do?


Increase or decrease the decimal places on a worksheet

  1. Select the cell or range (range: Two or more cells on a sheet. The cells in a range can be adjacent or nonadjacent.) of cells that contains the numbers for which you want to change the decimal places.

ShowHow to select a cell or a range

To select Do this
A single cell Click the cell, or press the arrow keys to move to the cell.
A range of cells

Click the first cell in the range, and then drag to the last cell, or hold down SHIFT while you press the arrow keys to extend the selection.

You can also select the first cell in the range, and then press F8 to extend the selection by using the arrow keys. To stop extending the selection, press F8 again.

A large range of cells Click the first cell in the range, and then hold down SHIFT while you click the last cell in the range. You can scroll to make the last cell visible.
All cells on a worksheet

Click the Select All button.

Select All button

To select the entire worksheet, you can also press CTRL+A.

 Note   If the worksheet contains data, CTRL+A selects the current region. Pressing CTRL+A a second time selects the entire worksheet.

Nonadjacent cells or cell ranges

Select the first cell or range of cells, and then hold down CTRL while you select the other cells or ranges.

You can also select the first cell or range of cells, and then press SHIFT+F8 to add another nonadjacent cell or range to the selection. To stop adding cells or ranges to the selection, press SHIFT+F8 again.

 Note   You cannot cancel the selection of a cell or range of cells in a nonadjacent selection without canceling the entire selection.

An entire row or column

Click the row or column heading.

Worksheet showing row heading and column heading

Callout 1 Row heading
Callout 2 Column heading

You can also select cells in a row or column by selecting the first cell and then pressing CTRL+SHIFT+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for columns).

 Note   If the row or column contains data, CTRL+SHIFT+ARROW key selects the row or column to the last used cell. Pressing CTRL+SHIFT+ARROW key a second time selects the entire row or column.

Adjacent rows or columns Drag across the row or column headings. Or select the first row or column; then hold down SHIFT while you select the last row or column.
Nonadjacent rows or columns Click the column or row heading of the first row or column in your selection; then hold down CTRL while you click the column or row headings of other rows or columns that you want to add to the selection.
The first or last cell in a row or column Select a cell in the row or column, and then press CTRL+ARROW key (RIGHT ARROW or LEFT ARROW for rows, UP ARROW or DOWN ARROW for columns).
The first or last cell on a worksheet or in a Microsoft Office Excel table

Press CTRL+HOME to select the first cell on the worksheet or in an Excel list.

Press CTRL+END to select the last cell on the worksheet or in an Excel list that contains data or formatting.

Cells to the last used cell on the worksheet (lower-right corner) Select the first cell, and then press CTRL+SHIFT+END to extend the selection of cells to the last used cell on the worksheet (lower-right corner).
Cells to the beginning of the worksheet Select the first cell, and then press CTRL+SHIFT+HOME to extend the selection of cells to the beginning of the worksheet.
More or fewer cells than the active selection Hold down SHIFT while you click the last cell that you want to include in the new selection. The rectangular range between the active cell and the cell that you click becomes the new selection.

 Tip   To cancel a selection of cells, click any cell on the worksheet.

  1. On the Home tab, in the Number group, do one of the following:
    • Click Increase Decimal Button image to display more digits after the decimal point.
    • Click Decrease Decimal Button image to display fewer digits after the decimal point.

Excel Ribbon Image

Top of Page Top of Page

Specify the decimal places for a built-in number format

  1. On the Home tab, click the Dialog Box Launcher Button image next to Number.

Excel Ribbon Image

  1. In the Category box, click Number, Currency, Accounting, Percentage, or Scientific.
  2. In the Decimal places box, enter the number of decimal places that you want to display.

 Note   You cannot change the default setting of 2 decimal places. To use more or less than 2 decimal places, you need to change the number of decimal places every time you apply a Number, Currency, Accounting, Percentage, or Scientific format. However, you can create a custom number format that displays the number of decimals that you want. For more information, see Create or delete a custom number format.

Top of Page Top of Page

Specify a fixed decimal point for numbers

  1. Click the Microsoft Office Button Button image, and then click Excel Options.
  1. In the Advanced category, under Editing options, select the Automatically insert a decimal point check box.
  2. In the Places box, enter a positive number for digits to the right of the decimal point or a negative number for digits to the left of the decimal point.
    1. For example, if you enter 3 in the Places box and then type 2834 in a cell, the value will be 2.834. If you enter -3 in the Places box and then type 283 in a cell, the value will be 283000.
  3. Click OK.
    1. The Fixed decimal indicator appears in the status bar.
  4. On the worksheet, click a cell, and then type the number that you want.

 Note   The data that you typed before you selected the Fixed decimal check box is not affected.

Tips    

  • To temporarily override the fixed decimal option, type a decimal point when you type the number.
  • To remove decimal points from numbers that you already entered with fixed decimals, do the following:
    1. Click the Microsoft Office Button Button image, and then click Excel Options.
  1. In the Advanced category, under Editing options, clear the Automatically insert a decimal point check box.
  2. In an empty cell, type a number such as 10, 100, or 1,000, depending on the number of decimal places that you want to remove.
    •  Tip   For example, type 100 in the cell if the numbers contain two decimal places and you want to convert them to whole numbers.

  3. On the Home tab, in the Clipboard group, click Copy Button image.
    • Keyboard shortcut  You can also press CTRL+C.
  1. On the worksheet, select the cells that contain the numbers with decimal places that you want to change.
  2. On the Home tab, in the Clipboard group, click the arrow below Paste, and then click Paste Special.
  3. In the Paste Special dialog box, under Operation, click Multiply.

Top of Page Top of Page

 
 
Applies to:
Excel 2007