• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Using weekday formula as part of AVERAGEIFS

Sudhaji

New Member
I am trying to calculate the total hours for weekend and weekday separately and am having trouble calculating the weekend hours. Please look at columns BQ and BR.

Thank you to anybody who can help me please!
Sudha
 

Attachments

  • AverageIfs Confusion.xlsx
    11.7 KB · Views: 6
Hi:

I have changed your WKEND HRS formula to
=SUM(SUMIFS($A$6:$BK$6,$A$4:$BK$4,{7,1}))
and your WKEND AVG formula to
=AVERAGE(AVERAGEIFS(A6:BK6,$A$4:$BK$4,{7,1}))

Thanks
 

Attachments

  • AverageIfs Confusion.xlsx
    11.7 KB · Views: 9
Hi ,

If you do not mind using array formulae , the following , which need to be entered using CTRL SHIFT ENTER , will also work :

=SUM(SUMIFS(A6:BK6,A4:BK4,$BL$1:$BM$1))

=AVERAGE(AVERAGEIFS(A6:BK6,A4:BK4,$BL$1:$BM$1))

Narayan
 
Back
Top