logo
search
Formatting Issues

How to Create a Vertical Y-Axis Label Beside Data in Excel

Phi Hung VoPhi Hung Vo Sep 27, 2026 872 views

Question details

The user wants to add a vertical text label next to a data range to act as a Y-axis label, but the rotated text is getting clipped or fails to span the adjacent rows properly.

How to Create a Vertical Y-Axis Label Beside Data in Excel
Product
Excel
Device & OS
not provided
Scenario
Adding a descriptive vertical Y-axis label beside a table or data range to clearly identify the data.
Observed behavior
The vertical text gets cut off (especially ascenders) or does not span across the adjacent data rows correctly due to default row height increments and font metric limitations.
Before you start

Ensure your adjacent data rows are fully entered and formatted before adding the side label, as modifying the data rows later might require you to readjust the vertical label's formatting.

Solution 1Recommended

Merge Cells and Apply Vertical Text Orientation

Combine the cells adjacent to your data and rotate the text to create a seamless vertical label that spans multiple rows.

1
Select the target cells

Select the blank cells directly to the left or right of your data range that you want the vertical label to span across.

2
Merge the cells

Navigate to the 'Home' tab on the ribbon and click 'Merge & Center' in the Alignment group to combine these cells into one large cell.

3
Enter the label text

Type your desired Y-axis label text into this newly merged cell and press Enter.

4
Rotate the text vertically

Select the merged cell again, click the 'Orientation' button (an 'ab' icon with an angled arrow) in the Alignment group, and select 'Vertical Text' or 'Rotate Text Up' (90 degrees).

Merge Cells and Apply Vertical Text Orientation
Alignment Tip: For the best visual result, ensure both 'Middle Align' and 'Center' are selected in the Alignment group so your vertical text is perfectly centered within the merged area.
Free Spreadsheet Software

Create Vertical Labels Easily with WPS Spreadsheet

WPS Office provides a highly intuitive and free alternative for managing spreadsheets. You can effortlessly merge cells, rotate text, and adjust row heights to create professional tables without dealing with frustrating formatting headaches.

  1. 1. Select the cells: Open your document in WPS Spreadsheet and select the vertical range of cells next to your data.
  2. 2. Merge the area: Under the Home tab, click the 'Merge and Center' button to create one unified block.
  3. 3. Apply vertical orientation: Type your descriptive text, then click the 'Text Orientation' icon on the Home tab and choose 'Vertical Text'.
  4. 4. Adjust spacing if needed: If any letters appear cut off, right-click the row headers to adjust the Row Height until the text displays perfectly.
Fully compatible with Microsoft Excel (.xlsx, .xls) formats.Intuitive 'Merge and Center' and 'Text Orientation' tools available directly on the Home ribbon.Precise row height and column width adjustments to prevent text clipping.Lightweight software that runs smoothly on Windows, Mac, and Linux without lag.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my vertical text getting cut off in my spreadsheet?

Vertical text often gets clipped because the row height isn't tall enough to accommodate the font's ascenders or descenders when rotated. Adjusting the row height slightly (e.g., increasing it to 12 points for an 11-point font) usually resolves this issue entirely.

Can I rotate text to exactly 90 degrees?

Yes. Right-click the cell containing your text, select 'Format Cells,' go to the 'Alignment' tab, and under the Orientation section, either type '90' in the degrees box or drag the orientation pointer straight up.

How do I center vertical text across multiple rows without merging?

While the 'Center Across Selection' feature works well for horizontal text across multiple columns, it does not function vertically across rows. To center text vertically across multiple rows, merging the cells is the required method.

Why can't I set my row height to exactly 11.75?

Spreadsheet row heights are often constrained by your system's display settings and screen resolution (DPI), which may force heights into specific increments like 0.75 points (e.g., 10.5, 11.25, or 12.00). If you cannot enter 11.75, round up to the next available increment, such as 12.