+ Reply to Thread
Results 1 to 12 of 12

Call Top3 based on duplicate data and ranking info

  1. #1
    Registered User
    Join Date
    05-14-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Call Top3 based on duplicate data and ranking info

    Hi Experts!!

    The below is a simple example of what I have on my spreadsheet... the difference is that the real one involves a Top300 and over 50 countries which are not usually the same

    A B C D

    8 M John USA
    6 M Jack USA
    1 M Jason USA
    3 M Jim USA
    9 M Joe USA
    2 M Johnson CAN
    7 M Jacob CAN
    5 M Paul CAN
    4 M Peter CAN


    I need Excel to automatically call the top3 per country based on lowest ranking (column A) from a new tab that's already created.

    There's no min or max of people per country, it could be 1 as well as the 300 (which won't happen, but still)... But if a country has less than 3, should not appear on the list.

    Once the Top3 for each qualifying country is on the new Tab, should run an average in column D for each country.

    Hope you can help me!!! Thank you so much!!!

    xoxo

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Call Top3 based on duplicate data and ranking info

    Would a Pivot be viable ?

    You could in theory add a further count column to filter out those Countries with fewer than 3 Names.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    05-14-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Call Top3 based on duplicate data and ranking info

    Thank you so much DonkeyOte!!!!

    Had no idea about this Pivot thing!!! worked like a charm, now playing around with it!!

    Thanks so much!!! you're awesome!!!

    xoxo

  4. #4
    Registered User
    Join Date
    05-14-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Call Top3 based on duplicate data and ranking info

    I've been playing around with the pivot feature, but after getting the Bottom3 by country, can't get it to exclude countries with less than 3 persons...
    Attached Files Attached Files
    Last edited by Sophyex; 05-15-2011 at 05:25 PM.

  5. #5
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Call Top3 based on duplicate data and ranking info

    Add Value to the Data Field again (3rd instance) and set this to COUNT.

    Right click on your first country and choose Filter -> Value Filters -> Count of Values -> Greater than or equal to: 3

  6. #6
    Registered User
    Join Date
    05-14-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Call Top3 based on duplicate data and ranking info

    I just found out and was about to post!! You are awesome! Thanks so much!!

    xoxo!

  7. #7
    Registered User
    Join Date
    05-14-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Call Top3 based on duplicate data and ranking info

    One more question.... (sorry!)

    Is there a way to combine 2 pivot tables once the filters are applied or a way to put up a table with the filtered results of 2 pivot tables? (I will need to do the same with 4 pivot tables)

    (the second pivot table is the same ranking but for women... that's what the M stands for)

  8. #8
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Call Top3 based on duplicate data and ranking info

    You can run multiple Pivots off one source if that's what you mean ?

    Given the nature of your requirements you will need separate Pivot Tables to ensure you have only 3 items listed unless you're prepared to have M/F as the first Row Label ? (M/F then Country so 2 Pivots listed one beneath the other)

  9. #9
    Registered User
    Join Date
    05-14-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Call Top3 based on duplicate data and ranking info

    No, I need to create a table combining the filtered data I got from the pivots. (Bottom3 by country M/F and then add the Boys and Girls)..

  10. #10
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Call Top3 based on duplicate data and ranking info

    I'd suggest posting a further sample to demonstrate.

  11. #11
    Registered User
    Join Date
    05-14-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Call Top3 based on duplicate data and ranking info

    Sorry for the delay, but got sick and was completely out of service :S

    Attached is the ideal example of what I'm looking to achieve... you'll find it on the Summary tab.

    Please let me know if it's clear or need further explanation...

    Thanks so much!!!!

    xoxo
    Attached Files Attached Files

  12. #12
    Registered User
    Join Date
    05-14-2011
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    8

    Re: Call Top3 based on duplicate data and ranking info

    I've been thinking... if it's not possible to retrieve the data from the pivot tables automatically, then what I could do is to manually copy and paste the values of both of the filtered pivot tables (men and women bottom3) into the new tab and make a table grabbing the data from there, but not sure how...

    Here's the spreadsheet detailing how it would work, but I don't know how to implement it =S

    I would really appreciate if you could help me!!

    Thanks so much!!!

    xoxo
    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)

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