• COUNTIF type Formula Array

    Author
    Topic
    #462793

    I have a problem with the formula arrays in the attached workbook L2:L17. The current formula array is =COUNTIF($E2:$E8,”0″)*$K$1. However, I need L2:L17 to calculate work week hours that will exclude weekends and designated holidays from a LOOKUP table. I understand the limitations of the COUNTIF worksheet function, but there must be another way that doesn’t involve converting this to a pivot table. Perhaps changing up the company holiday lookup table? I don’t know. Any help would be much appreciated.

    Amy

    Viewing 1 reply thread
    Author
    Replies
    • #1178973

      Try this in L3:

      =SUMPRODUCT(($C$2:$C$106=I3)*($F$2:$F$106>1)*($F$2:$F$106<7)*(ISERROR($G$2:$G$106)))*$K$1

      This formula can be filled down.

    • #1179142

      That worked perfectly. Thank you.

      Amy

    Viewing 1 reply thread
    Reply To: COUNTIF type Formula Array

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: