# How to Autofit in Microsoft Excel

> To autofit columns in Microsoft Excel, select the entire sheet by clicking the top-left triangle, position your cursor between columns A and B until it changes to a two-sided arrow, and double-click the boundary to automatically adjust the width to fit the content.

Canonical: https://livedemo.ai/tutorials/how-to-autofit-in-microsoft-excel/
Apps: Microsoft, Excel
Updated: 2026-10-05
Interactive demo: https://story-api.livedemo.ai/workspaces/62255d3d3304f17b8f5e2d03/stories/692a2f9cd673bd5aa8e61f16/preview?step=1

## Steps

1. Select the whole sheet by clicking the triangle in the top left corner.
2. Move your mouse between columns A and B until the cursor changes to a two-sided arrow.
3. Double-click the boundary, and the column width will adjust to fit the content.
