+ Reply to Thread
Results 1 to 4 of 4

Sorting a Column and it's Adjacent cell!!!

Hybrid View

  1. #1
    Registered User
    Join Date
    03-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Sorting a Column and it's Adjacent cell!!!

    I have list of names of people in a billboards league. Directly to the right of everyone's name in the adjacent cell is their "win percentage". I need these percentages sorted in descending order and I need the names to move along with the adjacent cell as the percentages change. BUT I WANT/NEED A FORMULA that updates the cells automatically. Any suggestions on formulas to help do this!?! Thanks!! Also i attached a screen shot of the area im working in, and then the file itself should be attached also.
    Screen Shot 2013-04-18 at 6.56.53 PM.png
    THE LEAGUE (version 1).xlsm

    -Dylan

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,048

    Re: Sorting a Column and it's Adjacent cell!!!

    Hi and welcome to the forum

    try this suggestion. Because the values you are using are so widely distributed through-out your table, make a small 2-column table somewhere (doesnt matter where, we will hide it later - I used A58:B65) and enter...
    =D11...Dylan
    =D21...Troy
    =D31...Jose
    =D41...Fabian
    =O11...Poma
    =O21...Omar
    =O31...Fidel
    =O41...Tim

    Then in your league table, for the % entere this, copied down...
    =LARGE($A$58:$A$65,ROW(A1))

    and for the names, use this, copied down...
    =INDEX($B$58:$B$65,MATCH(L58,$A$58:$A$65,0)*1)

    the table you just created can go anywhere you want, and if you want, you can put it off to the side and then hide the columns, or leave it where it is and make the text font white so it goes "invisible"
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    03-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Sorting a Column and it's Adjacent cell!!!

    This is great! thanks a lot, but in the INDEX formula, what does the purpose of the L58? Also, when I copy that formula down, will I change the "0" to a 1,2,3...etc, or the "*1" to a *2,*3,*4....etc?

  4. #4
    Registered User
    Join Date
    03-06-2013
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    4

    Re: Sorting a Column and it's Adjacent cell!!!

    ///////////

+ 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