+ Reply to Thread
Results 1 to 6 of 6

Averageifs dynamic row and column

  1. #1
    Registered User
    Join Date
    10-14-2021
    Location
    melbourne, FL
    MS-Off Ver
    2013
    Posts
    3

    Averageifs dynamic row and column

    Hi, I'm looking for help for an Averageifs on a dynamic row and columns.
    Attached Files Attached Files

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,504

    Re: Averageifs dynamic row and column

    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

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2406 (Windows 11 23H2 64-bit)
    Posts
    81,467

    Re: Averageifs dynamic row and column

    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.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,206

    Re: Averageifs dynamic row and column

    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.
    Attached Files Attached Files
    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

  5. #5
    Registered User
    Join Date
    10-14-2021
    Location
    melbourne, FL
    MS-Off Ver
    2013
    Posts
    3

    Re: Averageifs dynamic row and column

    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.

  6. #6
    Registered User
    Join Date
    10-14-2021
    Location
    melbourne, FL
    MS-Off Ver
    2013
    Posts
    3

    Re: Averageifs dynamic row and column

    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. AVERAGEIFS with column limit
    By joecool360 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-04-2022, 09:50 AM
  2. Replies: 8
    Last Post: 01-23-2021, 04:46 AM
  3. How to reference a certain sheet in an dynamic AVERAGEIFS function
    By jarmonking in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 11-12-2020, 05:17 PM
  4. [SOLVED] averageifs with dynamic criteria
    By arvan1980 in forum Excel General
    Replies: 9
    Last Post: 03-16-2016, 10:16 AM
  5. averageifs for both row and column.
    By cgs45 in forum Excel General
    Replies: 4
    Last Post: 05-30-2014, 02:41 AM
  6. [SOLVED] averageifs dynamic criteria ranges
    By ValGlad in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 02-20-2013, 12:08 PM
  7. creating dynamic conditional statement for averageifs
    By olsoniv in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-16-2011, 11:33 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1