Solved

Work Days in current quarter

Posted on 2013-06-11
2
363 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
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: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Drop Down List with Unique/Distinct Values (Part II - ComboBox or ListBox and Data Validation List Bonus!) David Miller (dlmille) Intro This article focuses on delivering unique, sorted lists to list objects (e.g., ComboBox, ListBox) and Dat…
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.
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.

828 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