+ Reply to Thread
Results 1 to 6 of 6

I am Trying to Create a Top 5 List @ Bottom of Page

  1. #1
    Registered User
    Join Date
    09-20-2013
    Location
    ontario
    MS-Off Ver
    Excel 2007
    Posts
    14

    I am Trying to Create a Top 5 List @ Bottom of Page

    I have a data set.
    I would like to be able to select a test from the drop down box at the bottom and have a top 5 or bottom 5 list appear based on high to low or low to high drop down box.

    I have played around with rank function, large, small I just can't quite get it to work.
    I cleaned up the wordbook so that someone looking at it would have an easier time with it.

    thank you in advance.
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    28,202

    Re: I am Trying to Create a Top 5 List @ Bottom of Page

    Try

    NCM raw

    =INDEX($B$7:$B$36,MATCH(LARGE($F$7:$F$36,ROWS($1:1)),$F$7:$F$36,0))

    Score

    =LARGE($F$7:$F$36,ROWS($1:1))

    Copy both down

    Change range to required for other tables


    For LOW to HIGH use SMALL

  3. #3
    Registered User
    Join Date
    09-20-2013
    Location
    ontario
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: I am Trying to Create a Top 5 List @ Bottom of Page

    John,

    thank you for the forumla,
    I am hoping to make it change based on the test I select so NCM Raw, CM Raw ETC also I would like to be able to switch it either accending or decending with the second drop down box.

    is this possible?
    If not I will do manually but would prefer to have it more customizable.

    thank you so much

  4. #4
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,728

    Re: I am Trying to Create a Top 5 List @ Bottom of Page

    Slight amendment to John's formula to accommodate your drop-down - put this in B43:

    =INDEX($B$7:$B$36,IF($E$42="High to Low",MATCH(LARGE($F$7:$F$36,ROWS($1:1)),$F$7:$F$36,0),MATCH(SMALL($F$7:$F$36,ROWS($1:1)),$F$7:$F$36,0)))

    and this in E43:

    =IF($E$42="High to Low",LARGE($F$7:$F$36,ROWS($1:1)),SMALL($F$7:$F$36,ROWS($1:1)))

    then copy down.

    Hope this helps.

    Pete

  5. #5
    Forum Guru
    Join Date
    02-27-2016
    Location
    Vietnam
    MS-Off Ver
    2016
    Posts
    5,910

    Re: I am Trying to Create a Top 5 List @ Bottom of Page

    Try this ...

    In E43:

    =IF($E$42="High to Low",LARGE(OFFSET($D$7:$D$36,,MATCH($B$42,$E$5:$AB$5,0)),ROWS($1:1)),
    SMALL(OFFSET($D$7:$D$36,,MATCH($B$42,$E$5:$AB$5,0)),ROWS($1:1)))

    In B43 **:

    =INDEX($B:$B,SMALL(IF(E43=OFFSET($D$7:$D$36,,MATCH($B$42,$E$5:$AB$5,0)),ROW($B$7:$B$36)),COUNTIF($E$43:E43,E43)))

    ** Array formula, enter with Ctrl+Shift+Enter.
    Attached Files Attached Files

  6. #6
    Registered User
    Join Date
    09-20-2013
    Location
    ontario
    MS-Off Ver
    Excel 2007
    Posts
    14

    Re: I am Trying to Create a Top 5 List @ Bottom of Page

    This worked amazing thank you soo much!!

+ 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. Create data page from list of information
    By bellicusa in forum Excel General
    Replies: 3
    Last Post: 11-18-2014, 02:32 PM
  2. [SOLVED] Vba code to start page numbers from current page (bottom of the pate right side)
    By satputenandkumar0 in forum Word Formatting & General
    Replies: 2
    Last Post: 04-04-2014, 01:09 AM
  3. [SOLVED] VBA/Macro to detect a heading at the bottom of a page and create a page break
    By jdodz in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-22-2014, 07:16 PM
  4. [SOLVED] Move Data to another Sheet append to bottom of list and create a CSV of data
    By thequiff in forum Excel Programming / VBA / Macros
    Replies: 41
    Last Post: 07-26-2012, 06:38 AM
  5. Create list based on Pivot Page Field List
    By Macdave_19 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-17-2008, 09:40 AM
  6. create a list by name and date from another page
    By JasonH in forum Excel General
    Replies: 1
    Last Post: 03-23-2008, 06:04 PM
  7. [SOLVED] Create way to change data in list from another page
    By tom at arundel in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-22-2005, 05:06 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