+ Reply to Thread
Results 1 to 4 of 4

Count Holidays within Month, Within Monday - Friday

  1. #1
    Registered User
    Join Date
    10-24-2003
    Location
    Sunderland UK
    Posts
    21

    Count Holidays within Month, Within Monday - Friday

    Count Holidays within Month, Within Monday - Friday

    So For example

    Country = Albania


    Holiday - Sheet.xlsx

    I would like to count how many holidays there are for different countries, each month, during a Monday - Friday only.

    January = 2
    March = 1 due to one being on a weekend.

    Many thanks

    Tim

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Count Holidays within Month, Within Monday - Friday

    hi Tim. supposing you have Jan-Dec in F2 onwards (make sure they are real dates like Column B. format cells to mmm if you just want to see the month name), then try this in G2:
    =SUMPRODUCT((TEXT($B$2:$B$15,"mmyyyy")=TEXT(F2,"mmyyyy"))*(WEEKDAY($B$2:$B$15,2)<6))

    ps: putting your MS Off Ver is helpful for us to give you newer & more efficient formulas

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-24-2003
    Location
    Sunderland UK
    Posts
    21

    Re: Count Holidays within Month, Within Monday - Friday

    Apologies and thanks

    Microsoft Office Professional 2010


    Version 14.0.6123.5001

  4. #4
    Forum Expert daddylonglegs's Avatar
    Join Date
    01-14-2006
    Location
    England
    MS-Off Ver
    2016
    Posts
    14,675

    Re: Count Holidays within Month, Within Monday - Friday

    If you have 1st of the month in F2 this formula will give you MF holidays in that month

    =NETWORKDAYS(F2,EOMONTH(F2,0))-NETWORKDAYS(F2,EOMONTH(F2,0),B$2:B$15)
    Audere est facere

+ 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: 07-10-2013, 01:41 PM
  2. [SOLVED] Count the days excluding Friday in every month using a date range.
    By miss_chloe in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-23-2013, 10:42 AM
  3. How to count all dates in column A using last friday and and next friday friday
    By rain4u in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-16-2011, 04:33 PM
  4. Monday to Friday
    By lunar_star in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-09-2007, 12:22 AM
  5. [SOLVED] Help change Friday to following Monday
    By David in forum Excel General
    Replies: 4
    Last Post: 06-21-2006, 08:30 PM

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