Home |
Search |
Today's Posts |
#6
![]() |
|||
|
|||
![]()
On Mon, 28 Mar 2005 09:43:02 -0800, "Mark"
wrote: Simply put, I need a function that will indicate if a given date is a workday or a weekend. With some date in F1, the formula: =WORKDAY(F1-1,1,HOLIDAYS)=F1 will return TRUE if F1 is a workday, and FALSE if F1 is not a workday. HOLIDAYS is a range which includes an optional list of HOLIDAYS. If that is not relevant, that term can be omitted. If the WORKDAY function is not available, and returns the #NAME? error, install and load the Analysis ToolPak add-in. On the Tools menu, click Add-Ins. In the Add-Ins available list, select the Analysis ToolPak box, and then click OK. If necessary, follow the instructions in the setup program. I could also use a function that would given me the networkdays in a given month, without having to specify a start and end date. With some date in the given month in F1, =networkdays(F1-DAY(F1)+1,eomonth(F1-DAY(F1),1),HOLIDAYS) will do what you request. --ron |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Hyperlinks using R[1]C[1] and offset function in its cell referenc | Excel Worksheet Functions | |||
Conversion | Excel Worksheet Functions | |||
Trim function doesn't clean out ASCII Code 160 (Space) | Excel Worksheet Functions | |||
Formula to list unique values | Excel Worksheet Functions | |||
Counting Function Dilemma | Excel Worksheet Functions |