How to Align Column Width in Excel: 5 Ways

How-to basics · Updated November 28, 2026

To align column widths in Excel, you can use AutoFit, set a specific width, copy a width from another column, or use the ribbon. The fastest way is to double-click the right edge of a column header to AutoFit it to its content. This guide covers all the methods for Microsoft 365, Excel 2021, 2019, and earlier versions on Windows, with Mac differences noted where they apply.

What You’ll Need

  • A worksheet with data in columns you want to resize.
  • Excel for Windows, Mac, or Excel for the web (steps differ slightly, noted below).
  • No special permissions or add-ins are required.

Step-by-Step

  1. Select the column(s) you want to adjust. Click the letter at the top of a column (e.g., B) to select that entire column. To select multiple adjacent columns, click and drag across their letters. For non-adjacent columns, hold Ctrl (Windows) or Cmd (Mac) while clicking each letter.
  2. Use AutoFit to match content (quickest method). With the column(s) selected, move your mouse to the right edge of any selected column header. The cursor changes to a double-headed arrow (↔). Double-click that edge. Excel instantly resizes the column to fit the longest entry in that column. On Mac, the same double-click works. In Excel for the web, double-clicking also works.
  3. Set an exact width manually. Select the column(s), then go to the Home tab > Cells group > Format > Column Width. In the dialog box, type a number (e.g., 15 for 15 characters of the default font) and click OK. On Mac, the path is Home > Format > Column Width (same). In Excel for the web, right-click the column letter and choose Column Width.
  4. Drag to resize manually. Select the column(s), then move the cursor to the right edge of any selected header until it becomes a double-headed arrow. Click and drag left or right. As you drag, a tooltip shows the current width in characters and pixels. Release the mouse to apply. This works identically on Windows, Mac, and the web.
  5. Copy a column width to another column. If you want column B to match column A’s width exactly, select column A, press Ctrl+C (Windows) or Cmd+C (Mac) to copy. Then, right-click the destination column letter (e.g., column B) and choose Paste Special > Column widths (under the Paste section). Click OK. This copies only the width, not the data. On Mac, the same options appear in the right-click menu.
  6. Use the ribbon for multiple columns at once. Select all columns you want to align, then go to Home > Format > AutoFit Column Width. This resizes each selected column to its own content, not to a uniform width. To make them all the same width, use the manual width method (step 3) with the same number.
  7. Align all columns on a worksheet. Click the triangle at the top-left corner of the sheet (where row numbers and column letters meet) to select all cells. Then double-click any column boundary, or use Home > Format > AutoFit Column Width. This fits every column to its content.

Common Mistakes

  • Selecting only one cell instead of the whole column. If you select a single cell and double-click the column edge, Excel only autofits that cell’s row, not the entire column. Always select the column letter first.
  • AutoFit not working because of merged cells. Merged cells can prevent AutoFit from sizing correctly. If a column contains merged cells, AutoFit may ignore the merged content or size to the first cell only. Unmerge or manually set the width.
  • Forgetting that AutoFit uses the longest visible text. If a cell has wrap text enabled, AutoFit will size the column to the widest line, not the full text length. Turn off wrap text or adjust manually.
  • Dragging the wrong edge. Dragging the left edge of a column resizes the previous column (the one to the left), not the one you intended. Always drag the right edge of the column you want to change.

Tips

  • Use keyboard shortcuts for speed. Select a column, then press Alt+H+O+I (Windows) to AutoFit. On Mac, press Cmd+Option+0 (zero) to AutoFit the selected column(s).
  • Set a default width for new columns. Go to Home > Format > Default Width and enter a number. This applies to all new columns you insert, but does not change existing ones.
  • Use the Format Painter for widths. Select a column with the desired width, click Format Painter (Home tab), then click the column letter you want to apply it to. This copies the width along with other formatting (like colors and fonts).
  • For large datasets, use AutoFit on a few key columns. If you have thousands of rows, AutoFit every column might make the sheet very wide. Instead, manually set a reasonable width for most columns and only AutoFit the ones with long text.
  • Check the pixel value. When dragging, the tooltip shows pixels. 64 pixels is roughly equal to 8.43 characters in the default font (Calibri 11). Use this as a rough guide if you need a specific visual width.

Troubleshooting

  • AutoFit does nothing. This usually happens when the column already fits, or when the column contains a cell with a custom number format that displays more characters than the data. Check if there are hidden characters (like spaces) or long numbers formatted as text. Select the column, go to Home > Format > Column Width and set a larger number manually.
  • AutoFit makes the column too wide. If a single cell has a very long unbroken string (like a URL or a long code), AutoFit will expand the column to fit that entire string. Consider wrapping text (Home > Wrap Text) or manually setting a maximum width.
  • Column width resets after saving. This can happen if the file is opened on a different system with a different default font or screen resolution. To prevent this, set a fixed width manually instead of relying on AutoFit, and avoid using the default width setting.
  • Double-clicking doesn’t work on a Mac. In some older Mac versions, you might need to hold the Option key while double-clicking. If that fails, use the ribbon method: select the column, go to Home > Format > AutoFit Column Width.
  • Copying column widths via Paste Special doesn’t appear. Make sure you copied a whole column (not just a cell) and that the destination is a column letter, not a cell. If you right-click on a cell, the option is grayed out. Select the entire destination column first.

Frequently Asked Questions

  • How do I make all columns the same width? Select all columns (click the triangle at top-left), then go to Home > Format > Column Width and enter a number. All selected columns will become that exact width.
  • What is the default column width in Excel? The default is 8.43 characters (64 pixels) for the standard font (Calibri 11). You can change it via Home > Format > Default Width.
  • Can I AutoFit multiple non-adjacent columns at once? Yes. Hold Ctrl (Windows) or Cmd (Mac) while clicking each column letter, then double-click the right edge of any selected column. All selected columns will AutoFit based on their own content.
  • Why does my column show ‘###’ instead of the number? This means the column is too narrow to display the number. Double-click the right edge of the column header to AutoFit, or manually widen it.
  • Does AutoFit work with wrapped text? AutoFit adjusts the column width, but if wrap text is on, it will size to the longest line, not the full cell content. To fit wrapped text, you may need to adjust row height instead.
  • Is there a keyboard shortcut to set a specific width? Not directly, but you can press Alt+H+O+W (Windows) to open the Column Width dialog. On Mac, go to Home > Format > Column Width.

Related

Try it: the Date Difference Calculator: days, months, years and weekdays between two dates, with the DATEDIF formulas.

More in How-to basics

Sources: Function behaviour and menu paths: Microsoft Support documentation for Excel. Method & sources

Spotted an error in this guide? Let us know.