ExcelFormulas logoExcelFormulas.
KI Fragen
Datum & UhrzeitQA-geprüft

DAYS.

Returns the number of calendar days between two dates.

Datum & Uhrzeit
ExcelExcel 365Excel 2021Excel 2019Google Sheets

Funktionsweise im Detail.

DAYS ist eine zentrale Formel in Excel. Returns the number of calendar days between two dates. Sie optimiert Ihre Tabellenkalkulationen, automatisiert Routineabfragen und sorgt für fehlerfreie Auswertungen in modernen Tabellen.

Syntax.

Standardmäßige Excel-Schreibweise
=DAYS(end_date, start_date)
Tipp: Parameter in eckigen Klammern [wie_dieser] sind optional, alle übrigen müssen angegeben werden.

Argumente.

Alle von dieser Funktion akzeptierten Parameter im Überblick.

end_dateErforderlich

The ending date in the interval.

Beispiel: B2
start_dateErforderlich

The beginning date in the interval.

Beispiel: A2

Praxisbeispiel.

Schritt-für-Schritt-Szenario

Project Timeline - Days Elapsed

Calculate the total calendar days between project kickoff and completion.

Start DateEnd DateDays Elapsed
2025-05-012025-05-31—
2025-06-012025-06-15—
Eingesetzte Formel
=DAYS(B2, A2)
Erwartetes Ergebnis::30

Evaluates DAYS over the sample table cells, placing the verified output in cell C2.

Passen Sie die Eingabefelder an, um eine fertige Formel für Ihre Tabelle zu kopieren.

Generated FormulaKopierbereit

Ergebniseigenschaften.

Returns number 30 based on sample evaluation criteria and active cell references.

Ausgabebeispiel::30
Datentyp::Numeric

Empfohlene Vorgehensweise

  • Remember that end_date is listed first: =DAYS(end_date, start_date).

Typische Fehlerquellen

  • If start_date is later than end_date, DAYS returns a negative number.
Kompatibilitätsmatrix

Kompatibilität nach Versionen.

Geprüft auf Basis der offiziellen Tabellenkalkulations-Engines von Microsoft und Google.

Excel✓
Unterstützt
Excel 365✓
Unterstützt
Excel 2021✓
Unterstützt
Excel 2019✓
Unterstützt
Google Sheets✓
Unterstützt
Excel-Versionsverfügbarkeit

Core standard function supported across all modern and legacy Microsoft Excel versions (365, 2021, 2019, 2016, 2013, 2010), as well as Excel for the Web and Mac.

Hinweise zu Google Tabellen

100% compatible with Google Sheets. Uses identical argument order, data types, and standard calculation logic.

Häufig gestellte Fragen.

Technische Q&A
Can I use DAYS across different worksheets in Excel?↓

Yes. You can reference cells located on other sheets by including the sheet name followed by an exclamation mark, for example: =DAYS(Sheet2!A2:A10). If the sheet name contains spaces, enclose it in single quotes: ='Q1 Report'!A2:A10.

What is the most common reason for errors in DAYS?↓

If start_date is later than end_date, DAYS returns a negative number.

Does DAYS work identically in Google Sheets?↓

Yes, DAYS is supported in both Microsoft Excel and Google Sheets with standard evaluation behavior.