+ Reply to Thread
Results 1 to 2 of 2

Sumproduct for ranking with multiple criterias; maybe sumifs?

  1. #1
    Registered User
    Join Date
    11-06-2015
    Location
    Hong Kong
    MS-Off Ver
    2007
    Posts
    1

    Sumproduct for ranking with multiple criterias; maybe sumifs?

    Dear experts,

    I have a huge favour to ask, which is about automation of a task which involves filtering multiple criterias, sorting then copy and paste to another template. I don't want to free-ride on your expertise, but I tried my best (although inadequate), and your assistance is greatly appreciated.

    For easier understanding, please refer to a sample workbook attached. On the first tab, you will see what the data looks like. On the second, it is the instruction and the result that I have pasted idiotically after manual sorting.

    Task: to rank revenue from largest to smallest; then filter out multiple criteria from other columns, then copy and paste (perhaps index?)

    My plan: To use sumproduct and rank the country revenues, then use vlookup (perhaps combining with concatenate function too) to identify the top rankings for each country.

    Problem: I am not just ranking the revenue numbers for each country, but I had to filter out multiple other criterias too (for example, deal status, or certain product type). Is there a formula for this?? How should I approach it without doing VBAs?

    Thanks in advance.

    sincerely,

    deeply troubled individual
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-04-2009
    Location
    Texas
    MS-Off Ver
    Excel 2016
    Posts
    665

    Re: Sumproduct for ranking with multiple criterias; maybe sumifs?

    maybe, add a column on the data page - for example K in K1 you can input country you would like to filter by - For example China
    Then you can add formula K2:K... =if($K$1=$K2,1,"")
    Then you can rank in L2:L... if($K2=1,Rank(...... I haven't thought through the formula et
    On your table page for 1,2,3 Index(Sheet1!A:L,Match(1(Rank),Sheet1!L:L,0),1) etc...

+ 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. SUMIFS with multiple criterias working slowly
    By JakobL in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-17-2015, 03:17 PM
  2. [SOLVED] How to ignore zero values in sumproduct with multiple criterias
    By malcolmc in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-27-2014, 12:06 AM
  3. [SOLVED] Sumproduct multiple criterias with dates?
    By preddy1110 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-09-2014, 07:51 AM
  4. [SOLVED] Sumproduct with multiple criterias
    By JERICA in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 05-04-2013, 07:09 PM
  5. [SOLVED] How to build a SumProduct with multiple criterias.
    By gouleta in forum Excel General
    Replies: 4
    Last Post: 06-04-2012, 12:23 PM
  6. Sumifs with multiple criterias
    By gnoke in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-21-2012, 05:51 AM
  7. SUMIFS with multiple criterias row/colums
    By btem in forum Excel General
    Replies: 8
    Last Post: 09-22-2011, 11:04 AM

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