To make Excel cells expand to fit text automatically, you’ll usually combine Wrap Text with AutoFit for rows and columns.

Quick Scoop

  • Use Wrap Text so long text goes to multiple lines inside the same cell.
  • Use AutoFit so row height and column width resize to fit the content.
  • For fully automatic behavior after data entry, you can use a small VBA macro.

Method 1 – Wrap Text + AutoFit (Most common)

This is the standard way to make cells “grow” to show all the text without cutting it off.

  1. Select the cells, column(s), or row(s) you want to format.
  1. Go to Home → Alignment group → Wrap Text and turn it on.
  1. With the same cells still selected:
    • Double‑click the right border of a column header to AutoFit column width, or
    • Double‑click the bottom border of a row header to AutoFit row height.

Now, when you type more text, the row height will expand to show all wrapped lines, and the column width will stay at the autofitted/adjusted size unless you change it again.

Method 2 – AutoFit everything at once

If you have a big sheet and lots of hidden text, you can AutoFit in bulk.

  • To AutoFit all columns:
    1. Click the Select All button (the blank square at top-left corner of the grid) or press Ctrl+A inside the data range.
2. Double‑click any **column header right border**.
  • To AutoFit all rows:
    1. Select all rows (again, Select All or drag over row numbers).
2. Double‑click any **row header bottom border**.

This is great after importing data or pasting text from another source.

Method 3 – VBA for automatic resizing as you type

If you want columns or rows to expand automatically whenever someone types or pastes new text (no double‑clicking needed), you can use a small VBA macro that calls AutoFit after changes.

Basic idea (conceptual):

  • Attach code to the sheet’s Change event so that whenever a cell value changes, Excel runs something like:
    • Columns("A:A").EntireColumn.AutoFit for a specific column, or
    • Cells.EntireColumn.AutoFit to adjust all columns.

Articles demonstrate using the Immediate window or macros with Cells.EntireColumn.AutoFit so column widths update automatically when you press Enter after editing.

Use this when you have dynamic reports or forms where users constantly add text and you want everything to stay readable without manual formatting.

Method 4 – When Wrap Text isn’t enough (comments, text boxes, forms)

People on forums often struggle with “comment boxes” that should grow with text but not break the layout.

Common patterns:

  • Merged cells + Wrap Text : Merging a block of cells and turning on Wrap Text lets you simulate a large text area, and the row height will expand with more lines.
  • Avoid floating text boxes for data entry: they can overlap other cells and don’t always resize cleanly.
  • For form‑style layouts, many users end up using merged cells with Wrap Text + AutoFit row height , instead of shapes or separate text boxes.

These tricks show up frequently in discussion threads where people want user‑friendly comment areas in Excel instead of switching to Word forms.

Extra tips to keep your sheet readable

From tutorials and guides on resizing cells:

  • Don’t over‑widen columns; rely on Wrap Text to grow rows vertically instead.
  • Use Shrink to Fit only when space is tight; it makes text smaller instead of expanding cells.
  • Combine Wrap Text with manual fine‑tuning of a few critical columns for a cleaner, professional layout.
  • Consider conditional formatting to highlight important data rather than relying solely on cell size.

Mini example scenario

Imagine you have a “Notes” column with long comments:

  • Select the Notes column.
  • Turn on Wrap Text, then double‑click the column header’s right border to AutoFit width.
  • Finally, select all rows and double‑click one row’s bottom border to AutoFit height.

Now every new comment you type will appear fully, with rows expanding vertically to show all lines without you constantly dragging borders.

Information gathered from public forums or data available on the internet and portrayed here.