Back to articles
BeginnerFormatting
2010-12-067 min read

How to Indent in Excel: Add, Reduce, and Remove Cell Indents

Table of Contents

To indent cells in Excel, select them and choose Home > Increase Indent in the alignment controls. Each click adds another level. Use Decrease Indent to move back, or set Indent to 0 in Format Cells > Alignment to remove the indent.

This is useful when numbers and text crowd the shared edge of two columns. A small gap makes the entries easier to read without adding spaces to the data. That was the problem behind the original version of this article, and it is still a good reason to use cell indents.

Add an indent to selected cells

Here's a small example to enter in A1:C4:

ItemUnitsDescription
Notebook12Office supplies
Pen48Blue ink
Folder24Archive
Excel for Mac comparing the original list in A:C with an indented copy in E:G
A:C is the original; the right-hand copy in E:G uses one-level indents. F3 corresponds to B3, and G3 to C3.

With General alignment, Excel normally displays numbers against the right edge and text against the left. The Units values and Description entries therefore sit near the boundary between columns B and C. Giving Description a little space on its left makes that boundary easier to read.

  1. Select C2:C4, leaving the heading out of the selection.
  2. On the Home tab, choose Align Left.
  3. Choose Increase Indent once.

The descriptions move away from the left edge of their cells. Click again if you need more space. Start with one level, though; several levels can use up room the text needs.

Excel for Mac Home ribbon with indent controls and the copied Description cells G2:G4 selected
Increase Indent and Decrease Indent sit beside the alignment buttons on Mac. The screenshot selects G2:G4 in the comparison copy; use C2:C4 for the walkthrough.

Select C3 and look in the formula bar. It still contains Blue ink. The indent changes where the text appears in the cell, without inserting leading spaces. Microsoft's alignment guide describes the alignment and indent controls.

Reduce or remove an indent

Select the affected cells and choose Decrease Indent. Each click removes one level, so two increases can be undone with two decreases.

For a definite reset, open Format Cells, select Alignment, and set the Indent box to 0. Confirm with OK. This is particularly useful when a selection contains cells with different indent levels: you can give them all the same starting value.

Removing the indent doesn't necessarily reset horizontal alignment. If you explicitly chose Align Left, that alignment can remain after the indent is zero. Choose the horizontal alignment you want separately.

Avoid Clear All for this job; it removes cell contents too. Clear Formats is broader than necessary because it can remove number formats, borders, and other formatting you want to keep. Our guide to removing table and cell formatting explains those differences. To remove only the indent, change only the indent setting.

Indent text and right-aligned numbers

The useful edge depends on the content. A left indent moves the Description text away from its left border. A right indent gives the Units numbers space on their right, while keeping the digits aligned with one another.

In desktop Excel for Windows or Mac:

  1. Select B2:B4.
  2. Press Ctrl+1 on Windows or Command+1 on Mac to open Format Cells, then choose Alignment.
  3. Set Horizontal to Right (Indent).
  4. Set Indent to 1, then choose OK.

The numbers move leftward from the right edge of their cells. Combined with the left indent in C2:C4, that opens a gap on both sides of the shared column boundary.

Excel for Mac Format Cells dialog showing Right (Indent) horizontal alignment and Indent 1
The Mac dialog shows Right (Indent), level 1, for F3 in the comparison copy. Its numeric value is still 48.

Despite the name Increase Indent, the important idea is distance from the aligned edge. With left alignment, increasing that distance moves the content right. With right alignment, it moves the content left.

Keep 12, 48, and 24 as numeric entries. Don't add an apostrophe or a string of spaces to push them into position. Select B3 afterward and check that the formula bar still shows 48; the number format should also remain as it was before you adjusted the indent.

Choose an exact indent level

The Ribbon buttons are convenient for a quick adjustment. The dialog is easier when you want to inspect a level or give several ranges the same setting.

Indent valueResult
0No added indent
1One level of space from the aligned edge
2Two levels of space from the aligned edge

Use Left (Indent) for the Description cells and Right (Indent) for the Units cells. The value is an indent level, not an instruction to insert that many spaces into the cell's text.

You can compare levels 1 and 2 without changing the column widths. If level 2 makes a description harder to fit, return to 1. The point is to separate the entries enough to read them, not to create the widest possible gap.

Find the controls on Mac and Windows

The Home tab is the starting point for alignment controls in desktop Excel. On Windows, look in the Alignment group. On Mac, look beside the horizontal alignment buttons on Home.

To open the full Format Cells dialog, use Ctrl+1 on Windows or Command+1 on Mac, then choose Alignment. You can also right-click the selected cells and choose Format Cells. Check the horizontal alignment as well as the indent value when comparing two cells.

If you can't see an indent button, expand the Ribbon or make the Excel window wider. Hover over the nearby icons to read their names; the increase and decrease icons look similar at a glance. The dialog is useful when the Ribbon layout makes the buttons difficult to find.

The current Mac dialog shown above includes Right (Indent) and the numeric Indent field. The original article's restriction of right indent to Windows reflected older Mac versions and no longer applies to this Mac example.

Fix an indent that doesn't look right

The text moves in the wrong direction

Check Horizontal alignment in Format Cells. The indent is measured from the aligned edge, so right-aligned numbers and left-aligned text move in opposite directions when you increase it. Set the alignment deliberately before judging the result.

Part of the description disappears

An indent uses some of the space inside a cell. If the column was already narrow, the text now has less room. Reduce the indent or increase the column width.

If the description should occupy more than one line, consider Wrap Text and check that the row is tall enough to show the full entry. Judge the result using your longest description, rather than a short label that fits at any width.

Tab doesn't add an indent

Tab normally moves the selection to the next cell, or completes an entry and moves on. It isn't the cell-indentation command. Finish editing the cell, select it, and use Increase Indent or the Indent box instead.

Indent versus line spacing

Cell indentation changes the horizontal space at the edge of a cell. It doesn't provide a separate first-line indent for each paragraph, and it doesn't set the vertical distance between wrapped lines.

If lines appear spread too far apart, check the cell's Vertical alignment. Microsoft explains that Excel has no direct line-spacing control inside a cell and describes alignment options for changing the space around text. A text box provides more paragraph formatting controls when you need a short block of prose, but it is a separate object from the worksheet cell.

For our three-column list, keep the fix small: one indent level beside the shared border, enough column width for the descriptions, and the original values still in the formula bar.

Enjoyed this guide?

Join our newsletter to get the latest Excel tips delivered to your inbox.

You can unsubscribe anytime. See our Privacy Policy.

Archived comments

Comments migrated from the previous version of the site. Adding new comments is disabled.

Jose F. TorresJanuary 8, 2011 at 11:51 PM
Indenting right aligned numbers can also be easily achieved by just the following two steps: 1. Select the numbers you want to right indent. 2. In the Alignment group, click the Increase Indent button once (or the number of levels you want to indent), then click the Right Align button. You can confirm in the Format Cells dialog box that the numbers are right aligned with one indent level. 3. If you change your mind and want them to the right side of the cells, simply click again Right Align.
Gregoryexcelsemipro.comJanuary 9, 2011 at 12:11 AM
Wow, I did not know that. Thanks for the tip.
Aristarco PalaciosOctober 8, 2012 at 08:41 PM
What amount is increased? an em? a zero? a figure space? Any idea? Clicking twice or increasing Indent value to 2 or 3 makes a big indentation. What's the amount measured in? Twips? Pixels? Printer points?
Gregoryexcelsemipro.comOctober 9, 2012 at 01:06 AM
I'm not sure what they use to delegate space with the indent feature. It might be something esoteric like they do with column width, which is based up on the font size.