Solved

Totaling current count of workdays in the month

Posted on 2008-06-24
4
588 Views
Last Modified: 2010-04-21
Does anyone know what excel function or combination of functions to use to count the current number of workdays in a month?

i.e. June = 21 use networkday function

how do I count the total # of workdays so far this month?
6/24 = workday 16 out of 21

i am using office 2007

Thanks!

I am trying to setup a ratio of the count of current days over the count of total days
0
Comment
Question by:kpwhitte
  • 2
4 Comments
 
LVL 39

Accepted Solution

by:
nutsch earned 500 total points
ID: 21861501
today's networkdays in the month:
=networkdays(DATE(YEAR(NOW()),MONTH(NOW()),1),NOW())
total networkdays in the month
=networkdays(DATE(YEAR(NOW()),MONTH(NOW()),1),DATE(YEAR(NOW()),MONTH(NOW())+1,1)-1)
0
 

Author Closing Comment

by:kpwhitte
ID: 31470413
Works perfectly - mucho thanks for the help.
0
 

Author Comment

by:kpwhitte
ID: 21865143
thanks
0
 
LVL 45

Expert Comment

by:patrickab
ID: 21865491
kpwhitte,

Or you could use:

=NETWORKDAYS(EOMONTH(TODAY(),-1)+1,EOMONTH(TODAY(),0),E2:E6)

where E2:E6 contains the list of dates which are public holidays. That formula will update automatically for whatever month it is - provided the list of public holidays in that month is correct.

I think you'll need the Analysis ToolPak installed for EOMONTH to work. Tools/Add-ins and tick the Analysis ToolPak option, press OK.

Patrick
0

Featured Post

U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

Question has a verified solution.

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

Suggested Solutions

The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate in Google Sheets how to use the HYPERLINK function to create live links inside your spreadsheet.

895 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now