I need to find the average of a value based on multiple values in multiple columns.
=AVERAGE(IF(Data!D:D="Smith", If(Data!G:G="N/A", If(Data!G:G="TP", If(Data!H:H="Standard", If(Data!H:H="Consulting", If(Data!H:H="Multi_Consulting", If(Data!H:H="Standard_MP", If(Data!H:H="Multi_MP", If(Data!H:H="Multi", If(Data!K:K="8",Data!T:T)))))))))))
Basically if column D = Smith and
Column K = 8 and
Column G = N/A OR TP and
Column H = Standard OR Consulting OR Multi_Consulting OR Standard_MP OR Multi_MP OR Multi
Columns G and H can have a variety of combinations (so basically the values in Column H will have either a N/A or TP in column G).
Please let me know if this does not make sense. I have tried quite a few variations inclusing SumProduct and AverageIfs and nothing seems to work for what I need.
Thanks.
=AVERAGE(IF(Data!D:D="Smith", If(Data!G:G="N/A", If(Data!G:G="TP", If(Data!H:H="Standard", If(Data!H:H="Consulting", If(Data!H:H="Multi_Consulting", If(Data!H:H="Standard_MP", If(Data!H:H="Multi_MP", If(Data!H:H="Multi", If(Data!K:K="8",Data!T:T)))))))))))
Basically if column D = Smith and
Column K = 8 and
Column G = N/A OR TP and
Column H = Standard OR Consulting OR Multi_Consulting OR Standard_MP OR Multi_MP OR Multi
Columns G and H can have a variety of combinations (so basically the values in Column H will have either a N/A or TP in column G).
Please let me know if this does not make sense. I have tried quite a few variations inclusing SumProduct and AverageIfs and nothing seems to work for what I need.
Thanks.