+ Reply to Thread
Results 1 to 2 of 2

Count distinct, min, max and average on IF condition

  1. #1
    Registered User
    Join Date
    06-04-2017
    Location
    India
    MS-Off Ver
    2013
    Posts
    54

    Count distinct, min, max and average on IF condition

    I need to pull maximum, minimum, average and count distinct of companies based on if condition on category


    See the attached excel
    e.g. For freight, there are 3 unique companies and min/max/avg values are 18/20/19 respectively from raw data sheet. There are 3 unique companies reporting this value
    Attached Files Attached Files

  2. #2
    Forum Expert Crooza's Avatar
    Join Date
    10-19-2013
    Location
    Hunter Valley, Australia
    MS-Off Ver
    Excel 2003 /7/10
    Posts
    2,082

    Re: Count distinct, min, max and average on IF condition

    Try this in

    in D9
    Please Login or Register  to view this content.
    and drag down

    in E9
    Please Login or Register  to view this content.
    This is an array formula so use (control + shift +enter) then drag down

    In F9
    Please Login or Register  to view this content.
    and drag down

    in G9
    Please Login or Register  to view this content.
    this is an array formula too so Control + shift + enter again then drag down


    Also You need to spell Freight correctly on the Summary tab or it won't match with the raw data
    Happy with my advice? Click on the * reputation button below

+ 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] COUNTIFS with distinct values for one condition
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 02-02-2017, 05:49 PM
  2. Count and average values if condition met
    By bjnockle in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2017, 07:59 AM
  3. Replies: 17
    Last Post: 04-11-2016, 11:14 PM
  4. Count average sales of distinct stores in excel
    By eastofwestla in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-07-2016, 10:32 AM
  5. Replies: 1
    Last Post: 12-17-2015, 11:22 AM
  6. [SOLVED] SUM FREQUENCY formula to count distinct values w/ OR condition
    By HeyInKy in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 11-05-2015, 03:55 PM
  7. Trying to average a distinct list
    By leftee96 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-07-2013, 04:36 PM

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