Bỏ qua để tới nội dung chính
Đăng nhập với Microsoft
Đăng nhập hoặc tạo một tài khoản.
Xin chào,
Chọn một tài khoản khác.
Bạn có nhiều tài khoản
Chọn tài khoản bạn muốn đăng nhập.
Tiếng Anh
Chúng tôi rất tiếc. Bài viết này không có bằng ngôn ngữ của bạn.

Sometimes the label at the top of a column is wider than the data that is stored in the column. You can expand a column to match the size of the heading. However, that frequently means that you won't see as many columns on a page. When wrapping or vertically formatting text doesn't resolve this problem, you can 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.

Example of angled column headings

  1. Select the cells that you want to format.

  2. On the Home tab, click Format, and then click 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 click OK.

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

Split a column to create a dual-label corner cell

You can use an angled border to create a dual-label corner cell such as the one shown here.

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. Again, select the cell that you want to format.

  6. On the Home tab, click Format, and then click Format Cells.

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

    Upper left to lower right border option

See Also

Fix data that is cut off in cells

Change column width or row height

Bạn cần thêm trợ giúp?

Bạn muốn xem các tùy chọn khác?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Thông tin này có hữu ích không?

Điều gì ảnh hưởng đến trải nghiệm của bạn?
Khi nhấn gửi, phản hồi của bạn sẽ được sử dụng để cải thiện các sản phẩm và dịch vụ của Microsoft. Người quản trị CNTT của bạn sẽ có thể thu thập dữ liệu này. Điều khoản về quyền riêng tư.

Cảm ơn phản hồi của bạn!

×