Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel formula
Can anyone help with a formula I have been working with? Now I have a
spreadsheet with a workday formula that does not count weekends or holidays. How can I include Saturdays? |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel formula
try sth. like:
=IF(WEEKDAY(A1,2)<7,A1,"") to count everything except Sundays |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel formula
Hi,
can't remember who I'm plagarising here so apologies and credit to the original author. =SUMPRODUCT(--(COUNTIF(C1:C8,ROW(INDIRECT(A1&":"&B1)))=0),--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)),3)<6)) Where A1= start B1 = End C1 - C8 are holiday dates Mike "aviationmech" wrote: Can anyone help with a formula I have been working with? Now I have a spreadsheet with a workday formula that does not count weekends or holidays. How can I include Saturdays? |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel formula
forgot to add SUM, sorry
=SUM(IF(WEEKDAY(A1:A100,2)<7,A1:A100,)) this is an array formula so CTRL+SHIFT+ENTER it On 15 Lip, 13:31, Jarek Kujawa wrote: try sth. like: =IF(WEEKDAY(A1,2)<7,A1,"") to count everything except Sundays |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
Excel formula
Mike, What I am looking for is a formula where I can put a start date in say
A1 and the formula I put in A2:A? will auto fill the next dates excluding all Sundays and Holidays. The formula I use now excludes the holidays I have listed from another sheet. "Mike H" wrote: Hi, can't remember who I'm plagarising here so apologies and credit to the original author. =SUMPRODUCT(--(COUNTIF(C1:C8,ROW(INDIRECT(A1&":"&B1)))=0),--(WEEKDAY(ROW(INDIRECT(A1&":"&B1)),3)<6)) Where A1= start B1 = End C1 - C8 are holiday dates Mike "aviationmech" wrote: Can anyone help with a formula I have been working with? Now I have a spreadsheet with a workday formula that does not count weekends or holidays. How can I include Saturdays? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Excel 2002 Formula: Urgent Conditional Formula Required Right Away - if possible | Excel Discussion (Misc queries) | |||
Build excel formula using field values as text in the formula | Excel Worksheet Functions | |||
Excel Formula Doesn't Execute (Shows formula-not the calcuation) | Excel Discussion (Misc queries) | |||
Excel 2002 formula displayed not value formula option not checked | Excel Worksheet Functions | |||
How do I view formula results intead of formula in excel? | Excel Worksheet Functions |