+ Reply to Thread
Results 1 to 9 of 9

Formulas for correctly ranking data in a table/list

  1. #1
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2003
    Posts
    9

    Formulas for correctly ranking data in a table/list

    I am trying to rank the following data:

    Rank Team # of Wins Win %
    1 Team A 5 100%
    2 Team B 2 40%
    3 Team C 1 50%
    3 Team D 1 20%
    3 Team E 1 50%

    With The '# of Wins' column as the ranking factor. The ranking factor is pulling from a Pivot Table, where the criteria is the number of wins and losses by teams (in alphabetical order). The 'Team' column is an INDEX/MATCH formula, the 'Rank' column is a RANK formula, and the 'Win %' column is a VLOOKUP formula.

    Unfortunately the 'Team' column is not pulling the way I want it to, and is showing this instead:

    Rank Team # of Wins Win %
    1 Team A 5 100%
    2 Team B 2 40%
    3 Team C 1 50%
    3 Team C 1 50%
    3 Team C 1 50%

    How do I write a new formula for the 'Team' column so that after Team C shows, the next two rows will correctly eliminate Team C from consideration and display Team D (and thus display Team E once Team D has been eliminated). Basically, each team should be shown once.

    Perhaps you guys have another way of rewriting the entire table. Please let me know!

    Thanks so much!

  2. #2
    Forum Contributor noboffinme's Avatar
    Join Date
    08-29-2013
    Location
    Melbourne, Australia
    MS-Off Ver
    Excel 2003/7/10/13/16/19
    Posts
    1,071

    Re: Formulas for correctly ranking data in a table/list

    Hi intercon,

    You could use the Rank feature from a Pivot table.

    Have a look at this;

    http://www.youtube.com/watch?v=BbYrcVVWIWc
    Remember you are unique, like everyone else

  3. #3
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Formulas for correctly ranking data in a table/list

    The Pivot Table ranking wouldn't help much in this case because I would only like the win data for the top 5 teams to be displayed. The Pivot Table has around 20 teams and includes the number of losses. Thanks!

  4. #4
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Formulas for correctly ranking data in a table/list

    Couldn't you use the "=LARGE" function?

    http://office.microsoft.com/en-us/ex...in=HP010342656

  5. #5
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Formulas for correctly ranking data in a table/list

    I actually didn't realize it, but the data table I typed didn't come out clearly.
    Column A:
    Rank
    1
    2
    3
    3
    3

    Column B:
    Team
    Team A
    Team B
    Team C
    Team D
    Team E

    Column C:
    # of Wins
    5
    2
    1
    1
    1

    Column D:
    Win %
    100%
    40%
    50%
    20%
    50%

    The '# of Wins' column is the ranking factor. I am indeed using a LARGE function to draw those numbers from a pivot table. My question comes from the 'Team' column. I would like for it to display how it is above, but instead it is showing like this:

    Team
    Team A
    Team B
    Team C
    Team C
    Team C

    Is there a function I can use to show Team D and then Team E instead of the bottom two Team C's?

    Thanks again!

  6. #6
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Formulas for correctly ranking data in a table/list

    Ah. Sorry, my misunderstanding. See attached. The team names column uses an array formula, so remember that means you don't just hit enter after you typed the equation, you hit ctrl + shift + enter. If you don't have the array brackets { } at the ends, then you only hit enter. Let me know if this is what you're looking for.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    05-16-2014
    MS-Off Ver
    Excel 2003
    Posts
    9

    Re: Formulas for correctly ranking data in a table/list

    This is awesome!! Thank you! Do you know how to adjust the columns so that it pulls from an entire table array? Currently with what I am working with the formula which only pulls from columns that are next to each other (Column A and Column B). When I try to change to another column i.e; Column D I receive a #VALUE error. Thanks again!

  8. #8
    Valued Forum Contributor
    Join Date
    07-07-2014
    Location
    Washington DC
    MS-Off Ver
    2007
    Posts
    1,047

    Re: Formulas for correctly ranking data in a table/list

    Sorry, not exactly sure what you mean. The sample file I sent ranks the top 5 team names and scores listed in A3:B34, so it will check the scores for more than 30 teams. What exactly are you trying to change?

    It might be easier if you just upload a sample file, which you can do by clicking on "Go Advanced" at the bottom right corner of the Quick Reply message box and clicking on the paper clip at the top of the advanced page.

  9. #9
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Formulas for correctly ranking data in a table/list

    hoyasaxa215 sent you Excel 2007?
    Reason you put down MS-Off ver: Excel 2003?
    Possible why you getting error?
    hoyasaxa215 formula only work from excel 2007-2013!!

    You need be clear what Excel you on??
    If Excel 2010-2013 you can use Aggregate formula don't need array formula!!

    Regard
    To help you by my post? it would be nice to click on to say "Thank you".
    If you are happy with a solution to your problem?
    Click Thread Tools above your first post,
    select "Mark your thread as Solved".

  10. #10
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Formulas for correctly ranking data in a table/list

    duplicate post
    Last edited by micope21; 09-09-2014 at 07:30 PM.

  11. #11
    Valued Forum Contributor
    Join Date
    03-20-2011
    Location
    UK
    MS-Off Ver
    Excel 2007/10/16
    Posts
    840

    Re: Formulas for correctly ranking data in a table/list

    duplicate post

+ 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. Ranking data in a table?
    By Sean79 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-21-2014, 03:11 AM
  2. [SOLVED] Line graph not picking up data from table correctly
    By Jerseynjphillypa in forum Excel General
    Replies: 1
    Last Post: 07-23-2012, 03:40 PM
  3. Formulas not finding referenced data correctly.
    By stevegrobertson in forum Excel General
    Replies: 3
    Last Post: 05-02-2012, 12:43 PM
  4. Refresh Pivot Table Data – Not Working Correctly
    By robertguy in forum Excel General
    Replies: 3
    Last Post: 10-01-2007, 09:11 AM
  5. Data table is not updating correctly in excel 2003
    By Nathaniel Givens in forum Excel General
    Replies: 3
    Last Post: 05-31-2006, 10:00 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