Solved

Work Days in current quarter

Posted on 2013-06-11
2
370 Views
Last Modified: 2013-06-11
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
Comment
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
  • Learn & ask questions
2 Comments
 
LVL 50

Accepted Solution

by:
barry houdini earned 425 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

by:Faustulus
Faustulus earned 75 total points
ID: 39237467
Please try this formula:-
=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)

Open in new window

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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 demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question