Hi, I'm looking for help for an Averageifs on a dynamic row and columns.
Hi, I'm looking for help for an Averageifs on a dynamic row and columns.
for Agent (K5)... =IF($N$2="Sale",AVERAGEIFS($F:$F,$C:$C,$J5,$D:$D,K$4),IF($N$2="call",AVERAGEIFS($G:$G,$C:$C,$J5,$D:$D,K$4),AVERAGEIFS($H:$H,$C:$C,$J5,$D:$D,K$4)))
for Manager (K6)...
=IF($N$2="Sale",AVERAGEIFS($F:$F,$B:$B,$J6,$D:$D,K$4),IF($N$2="call",AVERAGEIFS($G:$G,$B:$B,$J6,$D:$D,K$4),AVERAGEIFS($H:$H,$B:$B,$J6,$D:$D,K$4)))
for Team (K7)...
=IF($N$2="Sale",AVERAGEIFS($F:$F,$A:$A,$J7,$D:$D,K$4),IF($N$2="call",AVERAGEIFS($G:$G,$A:$A,$J7,$D:$D,K$4),AVERAGEIFS($H:$H,$A:$A,$J7,$D:$D,K$4)))
drag all right for week 45
Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
Sam Capricci
Are you still using Excel 2013?
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
or, with a minor layout adjustment:
=AVERAGEIFS(INDEX($F$2:$H$500,,MATCH($O$2,$F$1:$H$1,0)),INDEX($A$2:$C$500,,IFERROR(MATCH($J5,$A$1:$C$1,0),1)),$K5,$D$2:$D$500,L$4)
copied across and down.
Glenn
None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU
Thank you for your replies.
I'm still trying to apply it to my work. For some reasons the results I get looks a little bit off.
Thank you again for your time.
Update: I was confused by the results I got. The issue was coming from the data extract. My IT people resolved the issue. The formula works perfect.
Thank you so much again. I was struggling setting up this AverageIFS formula on my own. The setup of multiple INDEX MATCH within the formula was challenging me, but when I look at your formula, at the end, it makes perfect sense.
I'm sure I will come back another day asking for your help sometimes. Be assured that you made my life easier with your help.
Thank you.
Evendis.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks