Thanks Thanks:  0
Likes Likes:  0
Results 1 to 2 of 2

Thread: Non Working Day Function

  1. #1
    Board Regular
    Join Date
    Mar 2002
    Posts
    76
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Does anybody know a function which will check whether a given day is a weekend or a holiday.

  2. #2
    Rest in Peace
    Join Date
    Feb 2002
    Posts
    1,582
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Hi Karraj

    You would have to put your holiday dates into a list, say A1:20 then try:

    =IF(OR(WEEKDAY(C9)=1,WEEKDAY(C9)=7,NOT(ISNA(MATCH(C9,A1:A20,0)))),"Weekend or holiday","Week day and no holiday")

    With C9 holding the date to check

Some videos you may like

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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