How to Automatically Position Excel Chart Labels Above or Below a Line
Question details
The user wants to make chart data labels appear above or below a line dynamically based on the label value or desired position, using helper series instead of manually positioning each label.

- Product
- WPS Office Spreadsheet
- Device & OS
- not provided
- Scenario
- Creating and formatting a line chart where labels need to switch between above and below the line depending on the underlying data.
- Observed behavior
- Labels should update automatically above or below the line according to the helper series and cell values.
Prepare the helper columns for label text and create the line chart before editing series. Confirm which labels should appear above or below the line so you can write the correct formula conditions.
Use Helper Series to Place Dynamic Chart Labels Above or Below a Line
Use this method when you want chart labels to switch between above and below a line based on cell values without manually dragging each label.
Helper series let you use formulas to control which labels appear above or below a line. By formatting the helper series without lines or markers, only their data labels remain visible on the chart.
In your worksheet, create separate columns for label values that should appear above and below each line. Use IF formulas to return the label text only in the desired column based on the condition.
Select the chart, click Chart Tools > Select Data, and add the helper columns as new series so each helper series shares the same category axis.
Right-click a helper series, choose Add Data Labels, then open Format Data Labels > Label Options and select Value From Cells. Choose the corresponding helper column range as the label range.
Format each helper series with No Line and No Marker, or use a transparent line, so the helper series do not visually interfere with the original chart line.
Change the underlying values and confirm that labels move above or below the line automatically according to your helper formulas.

Create Dynamic Chart Labels in WPS Office Spreadsheet
Use helper series and Value From Cells in WPS Office Spreadsheet to automatically position chart labels above or below a line, so your charts update without manual label dragging.
- 1. Open your workbook in WPS Office Spreadsheet: Launch WPS Office, open the Excel file with the line chart, or create the chart in a new spreadsheet.
- 2. Add helper series: Insert helper columns with formulas for above and below labels, then click Chart Tools > Select Data to add them as series.
- 3. Apply Value From Cells labels: Right-click the helper series, choose Add Data Labels, and in Format Data Labels select Value From Cells and choose the helper range.
- 4. Format helper series invisibly: Set the helper series fill and line to none or no marker so only the labels show above or below the original line.
- 5. Test with changed values: Update the source values and confirm that the labels move automatically.

Frequently Asked Questions
Can I position labels above and below the same line in one chart?
Yes. Create separate above and below helper series for the line, and use formulas to populate only one helper column per data point.
How do I make the helper series invisible?
Select each helper series, open Format Data Series, set Line to No line, and set Marker to None.
Does this method work when the chart data is updated?
Yes. Use formulas that reference the chart values so labels recalculate and reposition automatically when the data changes.
Can I use this technique for multiple lines?
Yes. Create above and below helper series for each line, for example four helper series for two lines.
Is Value From Cells available in WPS Office?
Yes. In Format Data Labels > Label Options, select Value From Cells and choose the label range for the helper series.




