Bei Microsoft anmelden
Melden Sie sich an, oder erstellen Sie ein Konto.
Hallo,
Wählen Sie ein anderes Konto aus.
Sie haben mehrere Konten.
Wählen Sie das Konto aus, mit dem Sie sich anmelden möchten.
Englisch
Dieser Artikel ist leider nicht in Ihrer Sprache verfügbar.

Symptoms

When you create a Line chart in Microsoft Excel, the chart may contain a gap in a line.

Cause

This issue may occur when the data range for the Line chart contains a blank cell.

Workaround

To work around this issue, use one of the following methods.

Method 1

Plot empty cells as interpolated. To do this, follow these steps:

Excel 2000 - 2003

  1. Click your Line chart to start it.

  2. On the Tools menu, click Options.

  3. On the Chart tab, click Interpolated, and then click OK.

Excel 2007

  1. Select the chart, and right click anywhere within the chart.

  2. Click Select Data and then click Hidden and Empty Cells.

  3. Click to select Connect data points with line, and then Press OK twice.

Method 2

Use the NA function in the blank cell of the chart's data range. To do this, use one of the following methods:

  • In the blank cell, type #N/A.

  • In the formula bar for the blank cell, type =NA().

  • If the cell range for the Line chart uses a formula to obtain values from a different cell range, and if you do not want the Line chart to plot 0 (zero), type the following formula in the formula bar:

    =IF(SUM(range)=0,NA(),SUM(range))Note range is the cell range that is outside the cell range for the Line chart.

Benötigen Sie weitere Hilfe?

Möchten Sie weitere Optionen?

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.

War diese Information hilfreich?

Was hat Ihre Erfahrung beeinflusst?
Wenn Sie auf "Absenden" klicken, wird Ihr Feedback zur Verbesserung von Produkten und Diensten von Microsoft verwendet. Ihr IT-Administrator kann diese Daten sammeln. Datenschutzbestimmungen.

Vielen Dank für Ihr Feedback!

×