Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count weekend days with criteria
G'day all
Is it possible to count Sat and Sunday's with certain criteria in the cells. eg. M T W T F S S M A A B A B A A B I want to count the number of A's that occur on Saturdays and Sundays. Thanks for any Help |
#2
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count weekend days with criteria
With your data in row 15 and row 17 the something like this... =SUMPRODUCT(--(B5:I5="S"),--(B7:I7="A")) -- Jim Cone San Francisco, USA http://www.realezsites.com/bus/primitivesoftware (Excel Add-ins / Excel Programming) "koob" wrote in message G'day all Is it possible to count Sat and Sunday's with certain criteria in the cells. eg. M T W T F S S M A A B A B A A B I want to count the number of A's that occur on Saturdays and Sundays. Thanks for any Help |
#3
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
Count weekend days with criteria
Assuming that your days of the week are true dates:
=SUMPRODUCT(--(WEEKDAY(A1:H1,2)=6),--(A2:H2="A")) -- Biff Microsoft Excel MVP "koob" wrote in message ... G'day all Is it possible to count Sat and Sunday's with certain criteria in the cells. eg. M T W T F S S M A A B A B A A B I want to count the number of A's that occur on Saturdays and Sundays. Thanks for any Help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
changing weekend days | Setting up and Configuration of Excel | |||
Formula to Remove Weekend Days | Excel Discussion (Misc queries) | |||
add days without adding weekend | New Users to Excel | |||
Due date excluding weekend days | Excel Worksheet Functions | |||
Weekend days other than Sat Sun | Excel Worksheet Functions |