Fit more text in column headings in Excel for Mac

Applies To
Excel for Microsoft 365 for Mac Excel 2024 for Mac Excel 2021 for Mac

Sometimes the label at the top of a column is wider than the data that the column stores. You can expand a column to match the size of the heading. However, you often see fewer columns on a page. When wrapping or vertically formatting text doesn't resolve this problem, use rotated text and cell borders instead.

Rotate text and borders in column headings

You can angle text to fit long headings into small columns.

Screenshot that shows an example of angled column headings.

  1. Select the cells that you want to format.

  2. On the Home tab, in the Cells group, select Format, and then select Format Cells. Or, right-click the cell and select Format Cells.

  3. On the Border tab, apply vertical borders to the left, right, and middle of the range.

  4. On the Alignment tab, in the Orientation box, enter a degree value or drag the indicator to the angle that you want.

    Note

    A positive angle between 30 and 60 degrees usually works well.

  5. Under Horizontal alignment, select Center, and then select OK.

    Tip

    To reduce all the columns to their smallest possible width, select them. Then on the Home tab, in the Cells group, select Format, and then select AutoFit Column Width.

Split a column to create a dual-label corner cell

Use an angled border to create a dual-label corner cell, such as the one shown in the following image.

Screenshot that shows an example showing two values in one cell.

  1. To put text in the upper-right part of the cell, select the cell that you want to format, and then type 10 space characters. You can adjust this later, as needed.

  2. Type the first label, which corresponds to the column labels.

  3. To create two line breaks in the cell, hold down CONTROL + OPTION and press RETURN two times.

  4. Type the second label, which corresponds to the row labels down the left side of the table, and then press RETURN. You can adjust this later, as needed.

  5. Select the cell that you want to format.

  6. On the Home tab, in the Cells group, select Format, and then select Format Cells. Or, right-click the cell and select Format Cells.

  7. Under Border, select the upper-left-to-lower-right angled border button.

    Screenshot that shows an upper left to lower right border option.

  8. Select OK.

See also

Fix data that is cut off in cells in Excel for Mac

Change column width or row height in Excel for Mac