Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Format Numbers in a Pivot Table

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Formatting numbers in a pivot table changes how values appear—currency, percentages, decimals, or thousands separators—without altering the underlying data. This guide shows you the exact clicks in Excel and Google Sheets, plus how to apply formatting that sticks when you refresh or rearrange the pivot. You'll need a pivot table already created with at least one numeric field in the Values area.

What You'll Need

  • A pivot table with a numeric field (e.g., Sum of Sales, Average of Score) in the Values area.
  • Excel 2016 or later, or Google Sheets (steps differ slightly, noted below).
  • Access to the field settings dialog—right-clicking on a value cell usually opens it.

Step-by-Step

  1. Right-click a value cell in the pivot table (any number in the Values area, like a total or subtotal).
  2. Choose “Value Field Settings” (Excel) or “Summarize PivotTable Values By” → “Value Field Settings” (older Excel). In Google Sheets, click the value cell, then the “More” (three-dot) menu or right-click and select “Format” → “Number.”
  3. Go to the “Number Format” tab (Excel) or the “Format” section (Sheets). This is where the formatting options live.
  4. Pick a category from the list: Number, Currency, Percentage, Date, etc. For currency, choose “Currency” and set decimal places (usually 2). For percentages, choose “Percentage” and set decimals (e.g., 0 for whole percents, 2 for finer).
  5. Adjust decimal places using the spinner or typing a number. For large numbers, check “Use 1000 Separator (,)”.
  6. For negative numbers, select a display style (e.g., -$1,000 or ($1,000) in red). This is optional but common for financial data.
  7. Click OK to apply. The numbers in the pivot table now display with the chosen format.
  8. To apply the same format to multiple fields, repeat the steps for each field, or use the “Format Cells” option after selecting multiple value cells (Excel only).
  9. For Google Sheets, you can also select the entire range of value cells and use the toolbar number format dropdown (e.g., “$” or “%”). This works but may not persist after layout changes—use the value field settings for permanence.

Common Mistakes

  • Formatting the raw data instead of the pivot: Changing the source data format won’t affect the pivot table—you must format inside the pivot.
  • Right-clicking a row label instead of a value: Row labels (like product names) don’t have number formatting options; you need a numeric value cell.
  • Using “Format Cells” (Ctrl+1) on a pivot cell: This often works temporarily but gets overwritten when the pivot refreshes or is rearranged. Always use Value Field Settings.
  • Forgetting to reapply after adding a new field: A new field added later will use the default format—you must format it separately.
  • Setting decimal places too high for percentages, making the table cluttered (e.g., 12.3456% instead of 12.3%).

Tips

  • Use custom number formats for special cases like “$#,##0.0,” to show thousands as $1.5K. In the Number Format dialog, choose “Custom” and type the format code.
  • Apply formatting to all value fields at once by holding Ctrl and clicking each value field in the “Values” area of the Field List, then right-click and choose “Value Field Settings.”
  • For consistent dashboards, set a default number format for the entire workbook via the “Number” group on the Home tab—but note this won’t override pivot field settings.
  • If you want zero to show as a dash, use custom format `0;-0;–` (without quotes) in the Custom category.
  • In Google Sheets, you can also format the entire column of the pivot table by selecting the column and choosing Format → Number, but this is less reliable after refreshing.

Troubleshooting

  • Formatting disappears after refresh: This happens if you formatted via “Format Cells” instead of Value Field Settings. Reapply using the correct method. If it still resets, check if the pivot is in “Classic PivotTable Layout” (Excel) which may ignore some formats—switch to a standard layout.
  • Can’t find “Value Field Settings”: In Excel, right-click on a value cell and look for “Value Field Settings.” If you don’t see it, you might have right-clicked a row label. In Google Sheets, the option is under the “More” menu or right-click → “Format” → “Number.”
  • Numbers show as text (left-aligned, green triangle in Excel): This means the source data is text. Convert the source column to numbers (e.g., using Text to Columns), then refresh the pivot.
  • Formatting applies to some cells but not subtotals: In Excel, subtotals and grand totals may inherit formatting from the “Subtotals & Totals” options in the field settings. Check that “Include new items in manual filtering” is not causing issues—try reapplying after changing the layout.
  • Google Sheets: Formatting resets when you change the report layout (e.g., drag a field from rows to columns). This is a known limitation; you may need to reapply the format after major layout changes.

Frequently Asked Questions

Can I format numbers in a pivot table without affecting the source data?

Yes, formatting a pivot table only changes how the numbers are displayed in that pivot. The source data remains unchanged.

Why does my pivot table show “General” format even after I set currency?

You might have formatted the wrong field or used “Format Cells” instead of Value Field Settings. Also, if the field is a row/column label (not a value), number formatting won’t apply. Ensure you right-click a value cell.

How do I format percentages in a pivot table?

Right-click a value cell → Value Field Settings → Number Format → Percentage. Set decimal places as needed. Remember that the underlying value is a decimal (e.g., 0.15), so it will display as 15%.

Will formatting be preserved when I refresh the pivot table?

Yes, if you used Value Field Settings, the format persists through refreshes and most layout changes. If you used simple “Format Cells,” it may be lost.

Can I apply different formats to different value fields (e.g., one currency, one number)?

Absolutely. Each value field has its own settings. Right-click a value cell from that field and set its format; repeat for other fields.

How do I format numbers in a pivot table in Google Sheets?

Right-click a value cell → “Format” → “Number” → choose your format. Alternatively, select the cells and use the toolbar number format dropdown. For more control, use “More formats” → “Custom number format.”