Compare NETWORKDAYS.INTL vs DATEDIF

2 vs

Compare NETWORKDAYS.INTL vs DATEDIF side-by-side — differences, popularity and recommendation

Presets: VLOOKUP vs XLOOKUP SUM vs SUMIFS INDEX vs MATCH vs XLOOKUP IF vs IFS vs SWITCH COUNT vs COUNTA vs COUNTIF AVERAGE vs AVERAGEIF vs AVERAGEIFS MAX vs LARGE vs MIN TEXT vs TEXTJOIN vs CONCAT FILTER vs SORT vs UNIQUE ROUND vs ROUNDUP vs ROUNDDOWN
All functions Pick at least 2 functions
Feature
Date & Time
=NETWORKDAYS.INTL()
Syntax
Date & Time
=DATEDIF()
★ Winner
Syntax
Category
Date & Time date-time
Date & Time date-time
Popularity
55 / 100
70 / 100
Views
◉ 39 views
◉ 37 views
Output
Number
Number
Version
Excel 2010
All versions
Volatile
No
No
Dynamic Array
No
No
Description
string values are seven characters long and each character in the string represents a day of the week, starting with Monday. 1 represents a non-workday and 0 represents a workday. Only the characters 1 and 0 are permitted in the string. Using 1111111 will always return 0.
Calculates the number of days, months, or years between two dates.
Syntax
=NETWORKDAYS.INTL(start_date, end_date, [weekend], [holidays])
=DATEDIF(start_date,end_date,unit)
Arguments
3 Arguments
start_date weekend (Optional) holidays (Optional)
3 Arguments
start_date end_date unit
Examples
4
2
Tips
1
2

★ Recommendation — Winner: =DATEDIF()

=DATEDIF() is recommended based on higher popularity, newer version and Dynamic Array support.

Winner: =DATEDIF()