+ Reply to Thread
Results 1 to 5 of 5

Sumifs, large & rank

  1. #1
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Sumifs, large & rank

    Hi,

    I can do this manually through filters but I'd like to learn how to do it automatically through a formula.

    I have a dataset where I have countries in column A, customers in column B, type of sale in column C and units in column D and there are several invoices for each customer. I would like to find the highest ranking customer (i.e. with the highest amount of total sales) for each type of sale and in each country e.g. find the name and total number of sales for type "Goods" in country "Germany".

    I created a table and used SUMIFS to find out the totals and then used =INDEX($C:$C,MATCH(LARGE(D:D,1),D:D,0)) on my table to find out the highest for each type of sale however, I'm unable to figure out how to add another criteria.

    Any help would be much appreciated.

    Thanks,
    M

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Sumifs, large & rank

    Why not use a pivot table?
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    07-18-2013
    Location
    London
    MS-Off Ver
    Excel 2007
    Posts
    88

    Re: Sumifs, large & rank

    Quote Originally Posted by OllyXLS View Post
    Why not use a pivot table?
    It's a very large dataset

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Sumifs, large & rank

    Quote Originally Posted by M1234 View Post
    It's a very large dataset
    All the more reason to use a pivot table...

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: Sumifs, large & rank

    We would need to see some data and the result(s) you expect.

    If you can make up a SMALL sample file and post it I'll have a look at it.

    SMALL = about 20 rows worth of data
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

+ 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] Rank and Sumifs
    By MEC in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-22-2013, 06:25 AM
  2. Rank / Large function
    By cmb80 in forum Excel General
    Replies: 2
    Last Post: 03-26-2012, 10:38 AM
  3. Sumifs using large named range
    By CRIMEDOG in forum Excel General
    Replies: 2
    Last Post: 08-26-2011, 11:43 AM
  4. Using Match & Large to rank values.
    By Kanuhduh in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-24-2009, 03:14 PM
  5. Using the LARGE function to rank by alphabet
    By Weasel in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-21-2008, 04:41 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