How to Add an Indent in Excel Cell

How-to basics · Updated November 24, 2026

To add an indent in an Excel cell, select the cell(s), then use the Increase Indent button on the Home tab (Home > Alignment > Increase Indent). Each click adds one indent level, roughly equal to three spaces. You can also use the keyboard shortcut Alt+H, 6 (Windows) or Control+Option+Tab (Mac) to increase indent, and Alt+H, 5 (Windows) or Control+Option+Shift+Tab (Mac) to decrease it. This guide shows you the exact steps, how to indent multiple lines within a single cell, and how to fix common issues.

What You’ll Need

  • Microsoft Excel 2010 or later (steps are for Excel for Microsoft 365 on Windows; Mac differences are noted).
  • A worksheet with the cell(s) you want to indent.
  • No special add-ins or permissions are required.

Step-by-Step

  1. Select the cell or range – Click on a single cell, or click and drag to select multiple cells. To select an entire row or column, click the row number or column letter. For non-adjacent cells, hold Ctrl (Windows) or Command (Mac) while clicking.
  2. Go to the Home tab – On the ribbon at the top of Excel, click Home. If you are on Excel for the web, the Home tab is also available.
  3. Find the Alignment group – Look for the section labeled Alignment (usually in the middle of the ribbon). You’ll see two small buttons with blue arrows: one pointing right (Increase Indent) and one pointing left (Decrease Indent).
  4. Click Increase Indent – Click the button with the blue arrow pointing right. Each click moves the content one indent level to the right. The default indent is about three characters wide.
  5. To remove an indent – Click the Decrease Indent button (arrow pointing left) to move content back one level. You can click it multiple times to return to the left edge.
  6. For more precise control – Right-click the selected cell(s) and choose Format Cells (or press Ctrl+1 on Windows, Command+1 on Mac). In the dialog box, go to the Alignment tab. Under Horizontal, choose Left (Indent), Right (Indent), or Distributed (Indent). Then in the Indent box, type a number (e.g., 2) and click OK. This sets the exact indent level in one step.
  7. To indent only the first line of a wrapped paragraph – This is not directly supported in Excel. Instead, use a workaround: type a few spaces before the text in the cell, or use a custom number format (see Tips below).
  8. To indent text within a single cell (multiple lines) – Click into the cell (or press F2 to edit). Place the cursor at the beginning of the line you want to indent. Press Alt+Enter (Windows) or Control+Option+Enter (Mac) to create a new line, then press the spacebar a few times to indent that line. Alternatively, after creating the line break, use the Increase Indent button, but note that it indents the entire cell, not just one line.
  9. Use keyboard shortcuts for speed – On Windows: Alt+H, 6 increases indent; Alt+H, 5 decreases. On Mac: Control+Option+Tab increases; Control+Option+Shift+Tab decreases. These work on selected cells.

Common Mistakes

  • Clicking the button while editing a cell – If you are in edit mode (cursor blinking inside the cell), the Increase Indent button may be grayed out or may not work. Click a different cell or press Enter to exit edit mode first.
  • Using spaces instead of the indent feature – Typing spaces works visually, but it can cause alignment issues and is harder to maintain. Use the indent buttons for consistent results.
  • Indenting merged cells – Merged cells can behave unpredictably. If you merge cells, the indent may not display as expected. Unmerge or apply indent before merging.
  • Expecting indent to affect only the first line – The Increase Indent button indents the entire cell content, not just the first line. For first-line indent, use spaces or a custom format.
  • Applying indent to a column and then sorting – Indentation is part of cell formatting, not the data. If you sort, the indent stays with the cell, not the data value. That’s usually fine, but be aware.

Tips

  • Use custom number formats for automatic indent – If you want a consistent indent for numbers (e.g., always 2 spaces), select the cells, press Ctrl+1, go to the Number tab, choose Custom, and type something like " "0 (two spaces before the number). This adds spaces without changing the actual value.
  • Indent with a keyboard shortcut for multiple cells – Select a range, then press Alt+H, 6 repeatedly to increase indent for all selected cells at once.
  • Use the Format Painter – If you have a cell with the desired indent, select it, click the Format Painter icon (Home tab, Clipboard group), then click another cell to copy the indent formatting.
  • For a hanging indent (first line left, subsequent lines indented) – Excel does not support hanging indents natively. Use a workaround: type the first line, press Alt+Enter, then use spaces or the indent button for subsequent lines.
  • Check the indent level in the Format Cells dialog – If you are unsure how many indents you have, open Format Cells > Alignment and see the number in the Indent box.

Troubleshooting

  • The Increase Indent button is grayed out – This usually happens when the selected cells are in edit mode, or when the worksheet is protected. Exit edit mode (press Enter or Esc). If the sheet is protected, unprotect it (Review > Unprotect Sheet) or ask the owner for permission.
  • Indent seems too large or too small – The default indent is about 3 characters. To change the size, you cannot adjust the indent width directly. Instead, use a custom number format with spaces (as in Tips) or change the font size (indent scales with font). For precise control, use the Format Cells dialog and set the Indent number.
  • Indent does not show when printing – Indentation is part of cell formatting and should print. If it doesn’t, check that the print area includes the cells and that the column width is not too narrow (content may be cut off). Widen the column or enable Wrap Text.
  • Indent disappears when I apply a table style – Table styles can override some formatting. Reapply the indent after applying the style, or use a custom style that preserves indentation.
  • Keyboard shortcut does nothing – On Windows, the Alt+H, 6 shortcut requires pressing keys sequentially, not simultaneously: press Alt, then H, then 6. On Mac, ensure you are using the correct key combination; if it conflicts with system shortcuts, use the button instead.

Frequently Asked Questions

  • Can I indent only the first line of a paragraph in a cell? – Excel does not have a first-line indent feature. You can simulate it by typing spaces before the first line, or by using a custom number format (for numbers). For text, spaces are the simplest workaround.
  • Does indenting affect the cell value? – No. The indent is formatting only; the underlying data remains unchanged. For example, if you indent a cell containing “5”, the value is still 5 and can be used in formulas.
  • How do I remove all indents from a range quickly? – Select the range, then press Alt+H, 5 (Windows) repeatedly until the text is at the left edge. Or use Format Cells > Alignment and set Indent to 0.
  • Is there a way to indent in Google Sheets the same way? – Google Sheets has a similar Increase Indent button (Format > Align > Increase indent) and keyboard shortcuts (Ctrl+] to increase, Ctrl+[ to decrease on Windows; Command+] and Command+[ on Mac). The behavior is similar.
  • Can I indent using a formula? – No, formulas cannot change formatting. You can use the REPT function to add spaces in a formula result, but that changes the cell value. For example, =REPT(" ",3)&A1 would show three spaces before the value of A1, but the cell now contains text, not the original value.
  • Why does my indent look different after changing the font? – Indent width is tied to the font size and style. A larger font makes the indent appear wider. If you need a fixed visual indent, use spaces or adjust the font size consistently.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.