Hi everyone,
I am in need of some assistance. I am trying to determine how many working days in a given month within a given year are available. I know we can use the networkdays function, however I have some constraints that i need help working around.
I have 2 rows, the first row reads the year, the second row reads "jan, feb, mar..." and that's it. From this I am trying to write a formula that will extract the working days in that month in that year. So, in Jan 2018 I need it to show 23, for Feb 2018 it should show 20 etc.
I started with something like this:
=NETWORKDAYS((MONTH(--("01-"&L7))),EOMONTH((MONTH(--("01-"&L7))),0))
Where L7 is the cell that reads "Jan", however this gives me 22 and doesn't take the year into consideration. Any help is appreciated. Thank you.
I am in need of some assistance. I am trying to determine how many working days in a given month within a given year are available. I know we can use the networkdays function, however I have some constraints that i need help working around.
I have 2 rows, the first row reads the year, the second row reads "jan, feb, mar..." and that's it. From this I am trying to write a formula that will extract the working days in that month in that year. So, in Jan 2018 I need it to show 23, for Feb 2018 it should show 20 etc.
I started with something like this:
=NETWORKDAYS((MONTH(--("01-"&L7))),EOMONTH((MONTH(--("01-"&L7))),0))
Where L7 is the cell that reads "Jan", however this gives me 22 and doesn't take the year into consideration. Any help is appreciated. Thank you.