+ Reply to Thread
Results 1 to 3 of 3

Calculate Holidays weekdays & weekends

  1. #1
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Calculate Holidays weekdays & weekends

    Hi,

    My formula to calculate holidays works fine if the holidays falls on a weekdays, but I can't get the work around if the holidays falls on a weekend.

    The scenario is, 1 is entered that falls on a holiday then it is 1, if holiday is on a weekend and 1 is entered it should calculate as 1 also.

    I have holidays that are common to be on a weekdays but may have some that is on the weekend.

    I have attached a sample of what I'm trying to do.

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    01-05-2013
    Location
    Singapore
    MS-Off Ver
    H&B2016 & H&B2021
    Posts
    3,060

    Re: Calculate Holidays weekdays & weekends

    Holiday Count: =SUM(--ISNUMBER(MATCH(Hol!G5:G6,(D4:AH4)*(D5:AH5),0)))
    Weekday Count: =SUM((WEEKDAY(D$4:AH$4,2)<6)*(D5:AH5))
    Weekend Count: =SUM((WEEKDAY(D$4:AH$4,2)>5)*(D5:AH5))

  3. #3
    Forum Contributor
    Join Date
    07-28-2015
    Location
    london
    MS-Off Ver
    Microsoft Office 365
    Posts
    113

    Re: Calculate Holidays weekdays & weekends

    Hi josephteh,

    Thank you very much for the help.

    Appreciate it very much.

+ 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] Calculate Weekdays and Weekends Separately
    By Gerhardvanzyl1 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-17-2022, 06:36 AM
  2. How to calculate a formula excluding holidays and weekends
    By skyqua7 in forum Excel Formulas & Functions
    Replies: 18
    Last Post: 09-29-2015, 01:54 PM
  3. Calculate based on weekdays & weekends
    By Ichigo in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-12-2015, 12:37 AM
  4. Calculate number of days, excluding weekends and holidays
    By cloyd in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 11-26-2012, 04:37 PM
  5. Replies: 4
    Last Post: 03-08-2012, 02:57 PM
  6. Calculate A Date Excluding Weekends And Holidays
    By travelersway in forum Excel - New Users/Basics
    Replies: 9
    Last Post: 02-08-2006, 09:36 PM

Tags for this Thread

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