Days between dates and working days with NETWORKDAYS
Count calendar days and working days between two dates, skip holidays, and find due dates a number of days or months ahead.
FormulasIntermediate10 minExcel · Google Sheets
Example content. The numbers are fictional and made for learning.
Goal
Count the working days in a project that runs from 2 March to 31 March 2026.
Why this is useful
Deadlines, payment terms, lead times, and staffing all depend on dates. A spreadsheet counts them exactly, including weekends and holidays, once the dates are real dates and not text.
Example
| Row | A | B | C |
|---|---|---|---|
| 1 | Project | Start | End |
| 2 | Website | 2026-03-02 | 2026-03-31 |
| 3 | Catalogue | 2026-04-01 | 2026-04-30 |
| 4 | Working days, Website | 22=NETWORKDAYS(B2,C2) |
Steps
1. Type real dates
Type dates the way your computer expects, such as 2026-03-02. A real date lines up on the right of the cell; text lines up on the left and cannot be counted.
2. Subtract for calendar days
=C2-B2 gives the days between, 29 here. Add 1 when both the first and the last day count. If the answer looks like a date, format the cell as a number.
3. Count working days
=NETWORKDAYS(B2,C2) counts Monday to Friday with both dates included: 22 in March 2026. Swedish uses NETTOARBETSDAGAR.
4. Skip holidays
List holiday dates in a column, for example F2:F12, and add the range: =NETWORKDAYS(B2,C2,$F$2:$F$12). The $ keeps it fixed when you copy the formula.
5. Find a date ahead
WORKDAY gives the date a number of working days later, for example a delivery date: =WORKDAY(B2,10,$F$2:$F$12). EDATE moves whole months and EOMONTH gives a month end.
Formulas by language
Cell names such as B2 stay the same. The function name and the character between arguments follow the spreadsheet language. The English line in each list is the reference form used on this site, not a universal spelling. When the decimal sign is a comma, arguments are usually separated with a semicolon, because the comma is already used in numbers.
Calendar days between the dates: 29.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=C2-B2Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=C2-B2German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=C2-B2French (France)
Decimals look like 1,5. Arguments are separated with ;.
=C2-B2Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=C2-B2Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=C2-B2Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=C2-B2Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=C2-B2Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=C2-B2
Working days, both dates included: 22.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=NETWORKDAYS(B2,C2)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=NETTOARBETSDAGAR(B2;C2)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=NETTOARBEITSTAGE(B2;C2)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=NB.JOURS.OUVRES(B2;C2)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=DIAS.LAB(B2;C2)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=DIAS.LAB(B2,C2)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=DIATRABALHOTOTAL(B2;C2)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=GIORNI.LAVORATIVI.TOT(B2;C2)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=NETTO.WERKDAGEN(B2;C2)
Working days, also skipping the holidays listed in F2:F12.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=NETWORKDAYS(B2,C2,$F$2:$F$12)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=NETTOARBETSDAGAR(B2;C2;$F$2:$F$12)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=NETTOARBEITSTAGE(B2;C2;$F$2:$F$12)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=NB.JOURS.OUVRES(B2;C2;$F$2:$F$12)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=DIAS.LAB(B2;C2;$F$2:$F$12)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=DIAS.LAB(B2,C2,$F$2:$F$12)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=DIATRABALHOTOTAL(B2;C2;$F$2:$F$12)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=GIORNI.LAVORATIVI.TOT(B2;C2;$F$2:$F$12)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=NETTO.WERKDAGEN(B2;C2;$F$2:$F$12)
The date ten working days after the start.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=WORKDAY(B2,10,$F$2:$F$12)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=ARBETSDAGAR(B2;10;$F$2:$F$12)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=ARBEITSTAG(B2;10;$F$2:$F$12)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=SERIE.JOUR.OUVRE(B2;10;$F$2:$F$12)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=DIA.LAB(B2;10;$F$2:$F$12)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=DIA.LAB(B2,10,$F$2:$F$12)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=DIATRABALHO(B2;10;$F$2:$F$12)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=GIORNO.LAVORATIVO(B2;10;$F$2:$F$12)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=WERKDAG(B2;10;$F$2:$F$12)
Same day next month; from 31 January you get the last day of February.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=EDATE(B2,1)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=EDATUM(B2;1)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=EDATUM(B2;1)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=MOIS.DECALER(B2;1)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=FECHA.MES(B2;1)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=FECHA.MES(B2,1)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=DATAM(B2;1)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=DATA.MESE(B2;1)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=ZELFDE.DAG(B2;1)
Last day of the month, for example for payment terms of end of month.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=EOMONTH(B2,0)Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=SLUTMÅNAD(B2;0)German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=MONATSENDE(B2;0)French (France)
Decimals look like 1,5. Arguments are separated with ;.
=FIN.MOIS(B2;0)Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=FIN.MES(B2;0)Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=FIN.MES(B2,0)Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=FIMMÊS(B2;0)Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=FINE.MESE(B2;0)Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=LAATSTE.DAG(B2;0)
Days left until the end date. It changes every day.
English (United States)
Decimals look like 1.5. Arguments are separated with ,.
=C2-TODAY()Swedish (Sweden)
Decimals look like 1,5. Arguments are separated with ;.
=C2-IDAG()German (Germany)
Decimals look like 1,5. Arguments are separated with ;.
=C2-HEUTE()French (France)
Decimals look like 1,5. Arguments are separated with ;.
=C2-AUJOURDHUI()Spanish (Spain)
Decimals look like 1,5. Arguments are separated with ;.
=C2-HOY()Spanish (Mexico)
Decimals look like 1.5. Arguments are separated with ,.
=C2-HOY()Portuguese (Brazil)
Decimals look like 1,5. Arguments are separated with ;.
=C2-HOJE()Italian (Italy)
Decimals look like 1,5. Arguments are separated with ;.
=C2-OGGI()Dutch (Netherlands)
Decimals look like 1,5. Arguments are separated with ;.
=C2-VANDAAG()
The same spoken language can use different separators in different countries. Spanish in Spain often uses a comma for decimals and a semicolon between arguments. Spanish in Mexico often uses a period and a comma. If a formula is rejected, check the spreadsheet locale.
Excel and Google Sheets
- Excel and Google Sheets store a date as a number of days, so subtracting two dates gives days.
- NETWORKDAYS and WORKDAY treat Saturday and Sunday as the weekend. For other weekends, use NETWORKDAYS.INTL and WORKDAY.INTL.
- Public holidays are not built in, because they differ by country. Type them in a list once and point at it.
- Function names and the separator between arguments follow the spreadsheet language. Excel uses the language of your installation; Google Sheets uses the spreadsheet locale under File, Settings.
- Workbooks from Hellosheetwise store formulas in English. Excel and Google Sheets show them in your language when you open the file.
If something goes wrong
The result is #VALUE!.
One of the dates is text. Retype it in your system's date format, or select the column and use Data, Text to Columns in Excel.
The result shows as a date such as 1900-01-29.
The cell is formatted as a date. Change the format to Number to see the count of days.
The count is one day off.
Subtraction does not count the start day; NETWORKDAYS counts both ends. Add 1 to the subtraction if both days should count.