+ Reply to Thread
Results 1 to 6 of 6

AverageIfs with two conditions in one reference

  1. #1
    Registered User
    Join Date
    05-05-2017
    Location
    Mauritius
    MS-Off Ver
    2010
    Posts
    26

    AverageIfs with two conditions in one reference

    Dear Champs,

    I have a table for multiple users to have average of errors grouped for certain activities

    The challenge is that when I have multiple names to be selected in one range to get average i wont get it. I have tried to explain the the sample attached.
    Capture.PNG
    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,732

    Re: AverageIfs with two conditions in one reference

    You can use this formula in G14:

    =IFERROR(AVERAGEIFS($D:$D,$A:$A,$F14,$B:$B,$G$11,$C:$C,G$12),"")

    then copy across and down to fill your table.

    You may need to change the commas ( , ) to semicolons ( ; ), depending on your regional settings.

    Hope this helps.

    Pete

  3. #3
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: AverageIfs with two conditions in one reference

    First you will have to create a name manager for TravelClaim as it would be group of client name

    O11:O14 putter as
    EasyJet
    Indigo
    KLM
    Air Mauritius

    Now created name manager and changes dropdown Travel Claims to TravelClaims..

    Try

    G14
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.

    Check the attached file.
    Attached Files Attached Files
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  4. #4
    Registered User
    Join Date
    05-05-2017
    Location
    Mauritius
    MS-Off Ver
    2010
    Posts
    26

    Re: AverageIfs with two conditions in one reference

    Hi Ankur

    Could you please advise me where did you mention about grouping Easyjet,KLM & India as Travel Claims in your formula string

  5. #5
    Registered User
    Join Date
    05-05-2017
    Location
    Mauritius
    MS-Off Ver
    2010
    Posts
    26

    Re: AverageIfs with two conditions in one reference

    Can you please advise if instead of giving range I can give reference of the entire column A:A As my data is progressive in the table

    I get error when i change specified range to column range

  6. #6
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: AverageIfs with two conditions in one reference

    For your first question I have created Name Manager Press Alt->M-N and used Indirect function IF($G$11="TravelClaims",INDIRECT($G$11),$G$11).

    Second you will have to give range as Sumproduct can't handle entire column, however if you have problem with ranges then you can convert your data in table format which will enable you expandable range.

+ 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 using cell reference in criteria
    By Zozee1 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 03-04-2014, 09:23 AM
  2. AverageIFS with conditions not calculating right
    By dbaker4020 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 07-30-2013, 12:20 PM
  3. find mins/maxes with several conditions (similar to averageifs)
    By cwilder in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-12-2012, 07:43 PM
  4. [SOLVED] Looking to reference specific cells under multiple conditions.
    By kgrady414 in forum Excel General
    Replies: 2
    Last Post: 05-30-2012, 08:29 AM
  5. Replies: 2
    Last Post: 05-08-2012, 10:52 AM
  6. [SOLVED] AVERAGEIFS using a cell reference in the criteria
    By John007 in forum Excel General
    Replies: 2
    Last Post: 01-10-2012, 05:22 PM
  7. Excel 2007 : AVERAGEIFS including several conditions
    By milliemoo in forum Excel General
    Replies: 6
    Last Post: 11-16-2011, 11:39 AM
  8. Excel 2007 : AVERAGEIFS - a few conditions put together
    By stojko89 in forum Excel General
    Replies: 6
    Last Post: 05-26-2009, 12:14 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