+ Reply to Thread
Results 1 to 6 of 6

Networking days separated bu months

  1. #1
    Registered User
    Join Date
    08-23-2010
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    2

    Networking days separated bu months

    Hi,

    Need a little help with a formula (or VBA, or both) for that:

    In column A starting with A2 is date (A1 = Start date), in B1=End Date, in C1, D1..... are name of the month like IAN, FEB.....Dec
    In columns C2, D2....need a formula to show how many working days are in that months.
    That days must be without Saturday and Sunday and holidays.

    Thank you.

  2. #2
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Networking days separated bu months

    Hi and welcome to the forum Have you tried

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This assumes A1 is the first day of the month and B1 the last.
    If A1 is any date in the month and you still want the number of days in that month then

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

  3. #3
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,406

    Re: Networking days separated bu months

    I interpreted a little differently and may have over complicated.

    Please see attached.

    With Start/End dates in A:B, each month across row 1 and holidays in AA1:AC2 this in C2 filled down and across.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Dave

  4. #4
    Registered User
    Join Date
    08-23-2010
    Location
    USA
    MS-Off Ver
    Office 365
    Posts
    2

    Re: Networking days separated bu months

    Richard,
    Thanks for reply but we need for many months like Dave solution.

    Dave,
    Yes, your solution is what we need. Excellent, thank you very much.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: Networking days separated bu months

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Networking days separated bu months

    Quote Originally Posted by Ingolf View Post
    Richard,
    Thanks for reply but we need for many months like Dave solution.

    .
    It was just an example of one date range using Network Days which I presumed you would apply to all columns and dates
    Another option would be in C2 copied down
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and in D2 copied down and across
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    late edit. Just realised that since you mentione holidays you need to create a holiday range of dates and include that range as the 3rd (optional) parameter in the NetworkDays() function
    Last edited by Richard Buttrey; 04-20-2019 at 12:05 PM.

+ 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. Replies: 1
    Last Post: 09-25-2016, 06:18 PM
  2. [SOLVED] Converting years months and days into into total days
    By Aestivator1 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-26-2015, 04:35 PM
  3. How do I convert years, months, days back to complete days
    By Nisha Dhawan in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 11-13-2014, 03:21 AM
  4. Convert days -> Years, Months, Days, Hours, Minutes, Seconds
    By brharrii in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 09-06-2012, 06:44 PM
  5. Moving Sales Report into Assests Total, separated by months
    By CPixie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 08-31-2012, 09:23 AM
  6. Replies: 4
    Last Post: 08-23-2011, 11:42 AM
  7. Networking Days Formula
    By Madball in forum Excel General
    Replies: 5
    Last Post: 12-22-2008, 11:21 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