+ Reply to Thread
Results 1 to 4 of 4

Additional or lesser weeks in a month.

  1. #1
    Forum Contributor
    Join Date
    01-24-2013
    Location
    NY,NY
    MS-Off Ver
    MS 365
    Posts
    250

    Additional or lesser weeks in a month.

    Good morning,

    I’m attempting to multiply, 40 working hours x the amount of weeks in a month. But each month can be different. Some months have 4 weeks while others have 3.5 weeks etc. How can I run a formula without missing any working days in a month?

    Thank you,

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: Additional or lesser weeks in a month.

    Can't give an answer specific to your file without seeing your file but here is the idea. Rather than 40 x weeks, use 8 x days.

    If you have the first day of the month in A1 (like 1/1/2018) then this formula will give the number of working hours. You can also add a list of holidays.

    =8*NETWORKDAYS(A3,EOMONTH(A3,0))

    If you have a list of dates for holidays you can add them like so:

    =8*NETWORKDAYS(A3,EOMONTH(A3,0),Sheet2!$A$1:$A$11)
    Jeff
    | | |·| |·| |·| |·| | |:| | |·| |·|
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Forum Contributor
    Join Date
    01-24-2013
    Location
    NY,NY
    MS-Off Ver
    MS 365
    Posts
    250

    Re: Additional or lesser weeks in a month.

    Quote Originally Posted by 6StringJazzer View Post
    Can't give an answer specific to your file without seeing your file but here is the idea. Rather than 40 x weeks, use 8 x days.

    If you have the first day of the month in A1 (like 1/1/2018) then this formula will give the number of working hours. You can also add a list of holidays.

    =8*NETWORKDAYS(A3,EOMONTH(A3,0))

    If you have a list of dates for holidays you can add them like so:

    =8*NETWORKDAYS(A3,EOMONTH(A3,0),Sheet2!$A$1:$A$11)
    This is perfect!!
    Last edited by thursday140; 01-12-2018 at 02:06 PM.

  4. #4
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2502
    Posts
    26,995

    Re: Additional or lesser weeks in a month.

    Glad to help! Thanks for the rep

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Weeks per month
    By trosasco23 in forum Excel General
    Replies: 8
    Last Post: 04-28-2016, 04:02 PM
  2. [SOLVED] Add additional days/weeks/months based on user input
    By pauldaddyadams in forum Excel General
    Replies: 3
    Last Post: 12-09-2015, 01:29 PM
  3. [Additional Question]Formulas for assign monthly values to correspond weeks
    By jackson_hollon in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-12-2014, 02:47 PM
  4. separate weeks into different month
    By yaleguan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 03-20-2014, 04:27 AM
  5. No of weeks (Wednesdays)in month
    By GerryA in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-14-2012, 02:51 AM
  6. Excel 2007 : Timeline month/days to month/weeks?
    By Bellaggio1770 in forum Excel General
    Replies: 12
    Last Post: 04-14-2012, 05:09 PM
  7. Need help to separate month in weeks
    By bluejohn in forum Excel General
    Replies: 0
    Last Post: 01-14-2011, 03:57 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1