Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# Work Days in current quarter

Posted on 2013-06-11
Medium Priority
384 Views
Can anyone help me with the formula to get the total work days in the current quarter? I have a date in cell B2 that has the current date so I need to know what the total # of work days are in the quarter that the date is in. I also have a list of my holidays so I can deduct those from the formula.
0
Question by:Lawrence Salvucci
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 50

Accepted Solution

barry houdini earned 1700 total points
ID: 39237454
Assuming your quarters are standard ones, i.e. start dates are 1st January, 1st April, 1st July and 1st October then you can use this formula

=NETWORKDAYS(EOMONTH(B2,MOD(-MONTH(B2),3)-3)+1,EOMONTH(B2,MOD(-MONTH(B2),3)), H2:H10)

assuming holidays listed in H2:H10, change as required

regards, barry
0

LVL 14

Assisted Solution

Faustulus earned 300 total points
ID: 39237467
``````=NETWORKDAYS(DATE(YEAR(B2),INT((MONTH(B2)-1)/3)*3+1,1),EDATE(DATE(YEAR(B2),INT((MONTH(B2)-1)/3)*3+1,1),3)-1,Holidays)
``````
It determines the first day of the quarter and the last day of the quarter which the date in B2 is in, thne uses the NETWORKDAYS function to extract the number of workdays. Holidays is a named range containing the dates of holidays. In its place you can define a range like \$H\$2:\$H\$22 where your holidays are listed. It is optional in the NETWORKDAYS function but very easy to include, as you see.
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
This Micro Tutorial demonstrate the bugs in Microsoft Excel for Mac with Pivot Charts.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
###### Suggested Courses
Course of the Month4 days, 17 hours left to enroll