+ Reply to Thread
Results 1 to 4 of 4

Rank using Max with data in different cells.

  1. #1
    Registered User
    Join Date
    02-02-2012
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    33

    Cool Rank using Max with data in different cells.

    Hi guys,

    Attached and example of what I'm trying to do.
    I think the idea is pretty straight Forward...

    Thkz ^^
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Rank using Max with data in different cells.

    It would be a lot easier if you put the data in a column (i.e. in D3:E14 as one list). Then you could use these formula:

    in a3:
    =RANK(VLOOKUP(B3,D$3:E$14,2,0),E$3:E$14)

    then in B3 as an array formula (confirm with ctrl+shift+enter)
    =INDEX(D$3:D$14,MATCH(LARGE(D$3:E$14,ROW(A1)),IF(COUNTIF($B$2:B2,D$3:D$14)=0,E$3:E$14,0),0))

    Have a look at the attachment for an example
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    02-02-2012
    Location
    Brazil
    MS-Off Ver
    Excel 2010
    Posts
    33

    Re: Rank using Max with data in different cells.

    Here is the workbook I'm working on.

    So, I can't really put all in one colum.

    So.. the "ind" stand for "indicator", it would be the "cake.. candy" part.
    So, each one of the 24 indicators has a number of violations, and I want to make a rank to show the top five indicators that has more violations.

    Maybe I could use the table from "dados", but I don't know how. I would have to make a formula that sum with conditions and them find the max value... I could make a new table but I want to avoid to, if possible.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Rank using Max with data in different cells.

    I still think it would be simpler to put it in one column (use helper columns and hide them, like in the example attached).
    Attached Files Attached Files

+ 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 while ignoring 0 cells when data is greater and less than 0
    By david0985 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 03-07-2014, 07:34 PM
  2. [SOLVED] Rank string ignoring blank cells and o value cells
    By BRISBANEBOB in forum Excel General
    Replies: 3
    Last Post: 03-02-2014, 12:56 AM
  3. Replies: 8
    Last Post: 02-20-2014, 07:03 PM
  4. Userform to scan P.I.G. data and rank cells 1 to 4
    By group10 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-28-2013, 09:04 PM
  5. Replies: 1
    Last Post: 08-15-2005, 05:05 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