Hello,
I have searched the threads and I haven't been able to find a solution to my problem.
I have several columns of names that has hours worked below it. I want to average the hours worked columns if they are greater than zero and they do not equal the name in the exclude list shown on the right hand side. I tried using the following and it didn't exclude the names and average everything.
Does anyone have any suggestions?
=AVERAGEIFS(B2:H2,NAMES,"<>=EXCLUDE_NAMES",K2:K4,">0")
Thanks in advance!
I have searched the threads and I haven't been able to find a solution to my problem.
I have several columns of names that has hours worked below it. I want to average the hours worked columns if they are greater than zero and they do not equal the name in the exclude list shown on the right hand side. I tried using the following and it didn't exclude the names and average everything.
Does anyone have any suggestions?
=AVERAGEIFS(B2:H2,NAMES,"<>=EXCLUDE_NAMES",K2:K4,">0")
Code:
[TABLE="width: 704"]
<tbody>[TR]
[TD="class: xl66, width: 64"]DAYS[/TD]
[TD="class: xl66, width: 64"]CHRIS[/TD]
[TD="class: xl66, width: 64"]ASHLEY[/TD]
[TD="class: xl66, width: 64"]WENDY[/TD]
[TD="class: xl66, width: 64"]BRENT[/TD]
[TD="class: xl66, width: 64"]RICHARD[/TD]
[TD="class: xl66, width: 64"]JACK[/TD]
[TD="class: xl66, width: 64"]SOPHIA[/TD]
[TD="class: xl66, width: 64"]ANDREA[/TD]
[TD="width: 64"][/TD]
[TD="width: 64"]EXCLUDE FROM AVERAGE[/TD]
[/TR]
[TR]
[TD="class: xl66"]1[/TD]
[TD="class: xl65"]29[/TD]
[TD="class: xl65"]25[/TD]
[TD="class: xl65"]12[/TD]
[TD="class: xl65"]19[/TD]
[TD="class: xl65"]37[/TD]
[TD="class: xl65"]22[/TD]
[TD="class: xl65"]20[/TD]
[TD="class: xl65"]13[/TD]
[TD][/TD]
[TD="class: xl67"]RICHARD[/TD]
[/TR]
[TR]
[TD="class: xl66"]2[/TD]
[TD="class: xl65"]25[/TD]
[TD="class: xl65"]22[/TD]
[TD="class: xl65"]25[/TD]
[TD="class: xl65"]4[/TD]
[TD="class: xl65"]27[/TD]
[TD="class: xl65"]30[/TD]
[TD="class: xl65"]36[/TD]
[TD="class: xl65"]17[/TD]
[TD][/TD]
[TD="class: xl67"]CHRIS[/TD]
[/TR]
[TR]
[TD="class: xl66"]3[/TD]
[TD="class: xl65"]21[/TD]
[TD="class: xl65"]30[/TD]
[TD="class: xl65"]16[/TD]
[TD="class: xl65"]6[/TD]
[TD="class: xl65"]38[/TD]
[TD="class: xl65"]24[/TD]
[TD="class: xl65"]7[/TD]
[TD="class: xl65"]37[/TD]
[TD][/TD]
[TD="class: xl67"]JACK[/TD]
[/TR]
[TR]
[TD="class: xl66"]4[/TD]
[TD="class: xl65"]15[/TD]
[TD="class: xl65"]33[/TD]
[TD="class: xl65"]17[/TD]
[TD="class: xl65"]9[/TD]
[TD="class: xl65"]29[/TD]
[TD="class: xl65"]11[/TD]
[TD="class: xl65"]22[/TD]
[TD="class: xl65"]8[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]