Removing an unwanted indent in an Excel cell is straightforward: indent is usually caused by text alignment settings or manual spacing, and it can be cleared using the Home tab, cell formatting options, or keyboard shortcuts. No special tools or add-ins are required—just the Excel application itself (desktop version for Windows or Mac).

What You'll Need

  • Microsoft Excel (2010 or later, including Microsoft 365)
  • A workbook with at least one indented cell
  • Access to the ribbon interface (Home tab)

Step-by-Step

  1. Open your Excel workbook and click anywhere inside the cell (or select multiple cells) that has the unwanted indent. Make sure you’re in Normal view (not Page Layout or Page Break Preview), as indentation may appear differently in those views.
  2. Go to the Home tab on the Excel ribbon at the top of the window. This is where most formatting controls—including indentation—are located.
  3. Locate the Alignment group on the right side of the Home tab. You’ll see a small arrow in the bottom-right corner of this group (labeled "Alignment"). Click that arrow to open the Format Cells dialog box.
  4. Adjust the Indent level in the Format Cells window:
    • Under the "Alignment" tab, find the "Indent" section.
    • Set the "Indent" value to 0 (zero).
    • Click "OK" to apply the change.
  5. Alternative: Use the Increase Indent/Decrease Indent buttons on the Home tab:
    • With the cell(s) still selected, look for two small buttons in the Alignment group: one with a right-pointing arrow labeled "Increase Indent" (icon: a paragraph with a right-pointing arrow) and one labeled "Decrease Indent" (icon: a paragraph with a left-pointing arrow).
    • Click "Decrease Indent" repeatedly until the text aligns flush with the left edge of the cell. If the indent was exactly one level, one click will usually suffice.
  6. Verify the result by visually inspecting the cell(s). The text should now start at the left edge of the cell, with no blank space before the first character.

Common Mistakes

  • Confusing indent with spacing or padding: Some users add leading spaces manually (e.g., by pressing the Spacebar before typing text), and then expect the Indent controls to remove them. The Increase/Decrease Indent buttons only adjust Excel’s built-in indentation setting—not literal space characters. To remove manual leading spaces, use the TRIM function or press Backspace/Delete.
  • Forgetting to select the cell(s) first: If no cell is selected when you open Format Cells or click the Indent buttons, Excel may apply the change to the active cell only—or not at all. Always select the target cell(s) before adjusting indentation.
  • Using the wrong tab in Format Cells: The Indent setting is under the "Alignment" tab, not "Number" or "Font". Opening the wrong tab and missing the setting is a frequent oversight.
  • Assuming the issue is font-related: Some fonts (e.g., monospaced fonts like Courier) make indentation more visually obvious, but changing the font won’t fix the indent itself. Focus on alignment settings, not font properties.

Tips

  • Use keyboard shortcuts for speed: With a cell selected, press Alt+H+A+I (on Windows) to open the Format Cells dialog directly. Then type 0 and press Enter to set indent to zero. On Mac, use Cmd+1 to open Format Cells, then navigate to Alignment > Indent.
  • Apply to entire columns or ranges: If multiple cells are indented, select the whole column (click the column letter) or a large range (e.g., A1:A1000) before decreasing indent. This updates all selected cells at once.
  • Check for merged cells: Indentation can behave oddly in merged cells. If text still appears indented after setting indent to 0, try unmerging the cell (Home tab > Alignment group > Merge & Center > Unmerge Cells), then re-merge if needed.
  • Use Conditional Formatting to detect indented cells: While Excel doesn’t natively highlight indented cells, you can create a rule using a formula like =INDENT(A1)>0 (requires VBA) or visually scan with zoom set to 100% or 125% for clearer visibility.

Troubleshooting

If the indent persists after following the steps above, try these checks:

  1. Ensure you’re not seeing leading spaces: Double-click the cell to enter edit mode and look at the very beginning of the text. If there’s a space before the first character, delete it manually or use =TRIM(A1) (replace A1 with your cell reference) in a new column, then copy and paste values back.
  2. Check for custom number formats: Right-click the cell > Format Cells > Number tab > Custom. If the format includes spaces (e.g., " "@), delete them. Custom formats can add visual padding that mimics indentation.
  3. Reset cell alignment settings: Select the cell(s), go to Home > Alignment group, and click the "Align Left" button (or "Align Text Left") to override any inherited alignment. Then reapply your desired alignment (e.g., Align Left, Center, etc.).
  4. Test in a new workbook: Copy the problematic cell into a blank workbook. If the indent disappears, your original file may be corrupted. Try saving as .xlsx (if it’s .xls), or use File > Options > Advanced > Uncheck "Show a red triangle for cell comments" (sometimes triggers display glitches).
  5. Repair Excel: If all else fails, close Excel, then hold Ctrl while opening Excel to start in Safe Mode. Try removing the indent there. If it works, the issue may be an add-in—go to File > Options > Add-ins > Manage COM Add-ins > Go, and uncheck all.

Frequently Asked Questions

Why does Excel add an indent automatically?

Excel may apply an indent when you paste text from another source (e.g., Word or a webpage), especially if the original text used tab characters or paragraph spacing. It can also happen if you apply a cell style that includes indentation (like "Note" or "Input" styles in some templates).

Can I remove indentation for only part of the text in a cell?

No—Excel’s indent setting applies to the entire cell’s content, not individual words or lines. If you need partial control, you’d need to split the text into separate cells or use manual spaces (though this is fragile and not recommended for data integrity).

Does removing indentation affect formulas or calculations?

No. Indentation is purely a visual formatting feature and does not alter the underlying cell value, so formulas, sorting, filtering, and data validation remain unaffected.

Why does the Decrease Indent button stay grayed out?

This usually means the selected cell(s) have an indent level of 0 already. It can also happen if you’ve selected only cells that are merged or part of a table with protected formatting. Ensure you’re selecting standard, unmerged cells and try selecting a larger range.

Is there a way to prevent indentation from being added in the future?

You can’t disable indentation entirely, but you can avoid pasting formatted text. Use "Paste Special > Values Only" (Ctrl+Alt+V, then choose "Values") to strip formatting—including indentation—when copying data. Also, avoid applying cell styles that include indentation in your workbook templates.

Does this work in Excel Online (browser version)?

Yes, but with limitations. In Excel for the web, you can select a cell, go to the Home tab, and click the small arrow in the Alignment group to open Format Cells. However, the Indent level field may be missing or non-editable in some browsers. If so, use the Decrease Indent button instead, or paste the data into desktop Excel first.