Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Date function

Is it possible to get the day's between two dates excluding the weekend?

For example:

Startdate          Endate

08-09-2011       13-09-2011    

1 Solution

Accepted Solutions
its_anandrjs

Hi,

See the attached sample file it explains networkdays between selected dates

by use

= Networkdays( '2011-09-08','2011-09-13',"SAT","SUN" )

HTH

Regards

Anand

View solution in original post

6 Replies
Not applicable
Author

Hi,

have u tried with "networkdays" function?

C u,

Stefano

its_anandrjs

Hi,

Use Networkdays( ) function to get the day diference.

Regards

Anand

its_anandrjs

Hi,

Use Networkdays function in your scenario some thing like

=networkdays( '2011-09-08','2011-09-13',"SAT","SUN" )

it returns 4

Regards

Anand

its_anandrjs

Hi,

See the attached sample file it explains networkdays between selected dates

by use

= Networkdays( '2011-09-08','2011-09-13',"SAT","SUN" )

HTH

Regards

Anand

Not applicable
Author

Thank you for the fast respons!

Not applicable
Author

You can also set up an inline table or read from another file declaring public holidays and exclude them too when using the networkdays() function.