![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Mar 2002
Posts: 76
|
Does anybody know a function which will check whether a given day is a weekend or a holiday.
|
|
|
|
|
|
#2 |
|
Banned
Join Date: Feb 2002
Posts: 1,582
|
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 |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|