How to Indent Text in Google Sheets

For text labels in Google Sheets, a custom number format adds an indent without changing the stored value. Select the labels, open Format > Number > Custom number format, and put quoted spaces before the @ text placeholder.

That suits a list of headings and subitems. Paragraph indentation, hanging indents, and moving an entire column are different tasks; they don't use the same control.

Use a display format for text labels

Start with a small selection of text cells, such as the labels you want to show as subitems. Leave parent headings outside the selection so they keep their original position.

Google's help explains the number-format controls. Despite the menu's name, you can also use a format to control how text looks. The @ character stands for the cell's text.

Drawing of the Google Sheets custom number format dialog with a text-indent pattern

Open Format > Number > Custom number format. Enter this pattern, with three spaces between the straight quotation marks, then choose Apply:

"   "@

The quoted spaces provide the gap before the text. The @ preserves the displayed label after that gap. The quotation marks belong in the format field; don't type this pattern into the worksheet cell itself.

Select a formatted cell, then read its formula-bar value. Its value should remain the original text. The label moves inward on the sheet, but its stored text doesn't gain three leading spaces.

Use this first for text-only labels. Numbers, dates, percentages, and formulas returning numbers need formats that preserve their numeric display, rather than a text-only pattern copied across a mixed table.

Apply the indent only to the intended level

Select the subitems that belong at one level and apply the same format to them together. If the cells aren't next to each other, format each group rather than selecting an entire column containing unrelated values.

For a deeper text level, increase the spaces inside the quotation marks. Keep the rest of the pattern unchanged. Use a small number of levels so the hierarchy still fits when the sheet is viewed on a smaller screen.

I'd use the same font and alignment across those labels. Otherwise a difference in centering, wrapping, or font size can look like a different indent even when the custom format is identical.

A left-aligned label makes the gap easiest to recognize. Use the cell formatting controls to keep the selected labels left-aligned, then compare them with the parent heading.

If a long label appears cut off, widen the column or choose text wrapping. Increasing the indent uses some of the same space the label needs, so adding more spaces won't fix a narrow column.

This changes how the cells look; it doesn't create an outline like one in a document. Sorting still works on the values, and a custom format alone doesn't define which row belongs under which heading.

Keep numeric cells separate from text headings

A custom format can contain up to four sections separated by semicolons. In order, those sections control how positive numbers, negative numbers, zero, and non-numeric values look.

For example, this pattern keeps simple integer displays in the first three sections and indents the text section:

0;-0;0;"   "@

Use that example only when whole-number display is what you want. It changes the visible number format too. A decimal, currency amount, or percentage needs an appropriate numeric pattern of its own.

The value remains in the cell, but a format that hides decimal places can make the visible figure misleading. Start with text labels, where the simpler pattern solves the actual problem without redesigning numeric formatting.

If your selection contains dates or financial figures, keep their existing formats. Apply the text indent to the label column separately. That's usually easier to manage than one complicated format covering every kind of value.

A formula that returns a word is different from one returning a number. Check its displayed result before deciding which cells should receive the text format. The formula bar lets you see the expression that remains stored there.

Avoid adding spaces to data just to move it visually

Typing spaces before a label changes its text value. That can matter when another formula compares the label, or when the data is exported to a system expecting the original spelling.

A custom display format keeps the label itself intact. Choose that approach for presentation inside the sheet. If another program needs real spaces at the start of labels in an exported text file, you'll need to change the text itself.

Don't press Tab expecting a word processor's paragraph indent. In a spreadsheet, Tab normally moves to another cell. Select the range and use the formatting menu instead of trying to insert tab characters into each label.

Pasting formatted content into the same cells can replace the formatting you've applied. After importing or pasting a new set of labels, check a sample cell's custom format to make sure the indent is still there.

Keep a small example range to compare the spacing when you format another group. Changing the labels' visual level doesn't require retyping them.

Remove the indent or choose a different layout

Select the affected text cells and choose Format > Number > Automatic to remove that custom number format. Check the labels afterward, especially if the selection included values that originally had another format.

For a mistake you just made, Undo can restore the previous formatting directly. That's useful if you accidentally selected a header or a number cell you wanted to leave alone.

If your aim is a paragraph with a first-line or hanging indent, use a document rather than treating each spreadsheet cell as a paragraph editor. The Google Docs hanging-indent steps cover that layout.

For a category name that should remain visible while scrolling through many subitems, freeze the label column. Freezing solves visibility; indentation only changes the label's position inside its cell.

When the format can't be changed

Check that you have permission to edit the spreadsheet and that the target range isn't protected. Ask the owner for access to that range if other cells can be edited but this selection can't.

Use the desktop browser version for these menu steps. If a mobile app doesn't show the same custom-format editor, open the sheet on a computer rather than hunting for a Docs-style indent button.

If the result still looks wrong, send Google Sheets help an example without private data. Include the kind of value, exact format, and expected result to help them check formatting, access, and alignment.

The Short Version

For text labels, apply " "@ through Format > Number > Custom number format. Keep numeric formats separate, check that the stored label stays unchanged, and use Automatic or Undo to remove the visual indent.

Checked December 2, 2026.

If you have any business, I can build it online

Hi, I’m Hamza. I’ve been building websites and online shops for business owners since 2019, and I also built this site you’re reading.

Tell me what business you have or what you’re working on. I’ll look into how much it can grow online, and then we talk. You don’t have to buy anything or hire me first.

Chat with me on my site and I’ll show you proof of businesses I’ve helped and how they’ve grown.

Written by Isaac Smith

Isaac Smith is the founder and editor of PC Glance, a website that covers computers, laptops, and technology. He is a tech enthusiast and a computer geek who loves to share his insights and help his readers make smart choices when buying tech gadgets or laptops. He is always curious and updated about the latest tech trends.

More from Isaac Smith

Leave a Comment