+ Reply to Thread
Results 1 to 3 of 3

RANK - using form control to change ranking criteria

  1. #1
    Registered User
    Join Date
    06-04-2013
    Location
    Colchester, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    RANK - using form control to change ranking criteria

    I think the description sum it up really, just can't get my head around how to do this.

    Basically, columns E to 0 all contain data that could be ranked, and I'd like the ranking data (column A) to be able to change to whatever range I'd like to look at, ideally using a form control (list box?) as a mean to go from one to another at will.

    Help much appreciated

  2. #2
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: RANK - using form control to change ranking criteria

    So this list would consist of the headers on E to O? If not, what's the list?

    Let's say the headers are in row 1, data in E2:O100

    Setting up Data Validation in B2 for your list, In A2 copied down

    =RANK(INDEX($E$2:$O$100, ROWS($A$1:$A1), MATCH($B$2, $E$1:$O$1,0)),INDEX($E$2:$O$100,,MATCH($B$2, $E$1:$O$1,0)))
    See attachment
    Attached Files Attached Files
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  3. #3
    Registered User
    Join Date
    06-04-2013
    Location
    Colchester, England
    MS-Off Ver
    Excel 2007
    Posts
    21

    Re: RANK - using form control to change ranking criteria

    That is brilliant, exactly what I was after! Yep, there are header, it's for fantasy football so things like points, cost, team value.

+ 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] Trigger event with Spinner (Form Control) Change
    By YasserKhalil in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-17-2015, 01:11 PM
  2. Ranking values and ranking duplicates the same rank
    By 302arpks in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 03-05-2015, 01:50 PM
  3. [SOLVED] Change Text on Form Control Button with VBA
    By Delta729 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-16-2014, 11:09 PM
  4. [SOLVED] How to change font size within a Combo Box (Form Control)
    By jammi1710 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-01-2014, 10:03 PM
  5. Have checkbox change properties of spin button (form control)
    By spookymyo in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 01-19-2013, 04:19 AM
  6. RANK, duplicate ranking but no gaps in rank
    By arron laing in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-06-2012, 07:15 AM
  7. Replies: 6
    Last Post: 06-01-2010, 06:19 PM

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