+ Reply to Thread
Results 1 to 5 of 5

AVERAGEIFS w/ multiple & changing criteria - Please help!

  1. #1
    Registered User
    Join Date
    04-03-2020
    Location
    NYC
    MS-Off Ver
    365 Pro Plus
    Posts
    72

    Exclamation AVERAGEIFS w/ multiple & changing criteria - Please help!

    Hello,

    For a project I am trying to analyze a fleet of cars based on several criteria.

    I need to be able to calculate several metrics based on a drop-down list of those criteria.

    Basically I have three criteria (Year, Model, Make) of the cars in drop down lists so that you can select different models from different years, and so on. I need to have cells that automatically calculate the averages of, for example, purchase price, based on the contents of the criteria cells.

    I've attached an example excel file where my issue can better be understood. Please help! Thanks!
    Attached Files Attached Files
    Last edited by jk2391; 04-30-2020 at 01:00 PM.

  2. #2
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: AVERAGEIFS w/ multiple & changing criteria - Please help!

    Try these:

    =LOOKUP(2,1/('Car Information'!$D$3:$D$11=B2)*('Car Information'!$B$3:$B$11=C2)*('Car Information'!$C$3:$C$11=D2),'Car Information'!$E$3:$E$11)

    =LOOKUP(2,1/('Car Information'!$D$3:$D$11=B2)*('Car Information'!$B$3:$B$11=C2)*('Car Information'!$C$3:$C$11=D2),'Car Information'!$G$3:$G$11)

    =LOOKUP(2,1/('Car Information'!$D$3:$D$11=B2)*('Car Information'!$B$3:$B$11=C2)*('Car Information'!$C$3:$C$11=D2),'Car Information'!$F$3:$F$11)

    Sorry - I misread the question - ignore this.
    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.

  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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: AVERAGEIFS w/ multiple & changing criteria - Please help!

    Try again!

    =AVERAGEIFS('Car Information'!$E$3:$E$11,'Car Information'!$D$3:$D$11,B2,'Car Information'!$B$3:$B$11,C2,'Car Information'!$C$3:$C$11,D2)

    =AVERAGEIFS('Car Information'!$G$3:$G$11,'Car Information'!$D$3:$D$11,B2,'Car Information'!$B$3:$B$11,C2,'Car Information'!$C$3:$C$11,D2)

    =AVERAGEIFS('Car Information'!$F$3:$F$11,'Car Information'!$D$3:$D$11,B2,'Car Information'!$B$3:$B$11,C2,'Car Information'!$C$3:$C$11,D2)

  4. #4
    Registered User
    Join Date
    04-03-2020
    Location
    NYC
    MS-Off Ver
    365 Pro Plus
    Posts
    72

    Re: AVERAGEIFS w/ multiple & changing criteria - Please help!

    Yes, that seemed to do it. Thank you!!

  5. #5
    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. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,410

    Re: AVERAGEIFS w/ multiple & changing criteria - Please help!

    No problem.

+ 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. [SOLVED] Help with AVERAGEIFS with multiple criteria
    By dennis.pak in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-03-2019, 11:38 AM
  2. averageifs with multiple criteria
    By cchi3k in forum Excel General
    Replies: 2
    Last Post: 05-12-2017, 06:14 AM
  3. [SOLVED] Macro for AverageIFS, with multiple criteria in the same criteria range
    By Faridwahidi in forum Excel Programming / VBA / Macros
    Replies: 21
    Last Post: 05-24-2014, 01:13 AM
  4. [SOLVED] AVERAGEIFS with multiple criteria
    By bibu in forum Excel General
    Replies: 5
    Last Post: 03-22-2014, 03:28 PM
  5. AVERAGEIFS(), with multiple criteria
    By Jkember in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-21-2014, 06:33 PM
  6. AVERAGEIFS Multiple Criteria
    By qhoney in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-05-2014, 03:58 PM
  7. [SOLVED] Averageifs with multiple criteria
    By jbillyo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-02-2013, 04:13 PM

Tags for this Thread

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