+ Reply to Thread
Results 1 to 9 of 9

Rank to the right, function or Macro

  1. #1
    Registered User
    Join Date
    01-06-2014
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    5

    Rank to the right, function or Macro

    Hi All First post on this board and would be grateful if you could help me

    I have got lots of data I need to rank however it is in different chunks, so I am just wondering if there is a formula/Macro where I can select the cells that require ranking and it then puts the rank in the right hand cells

    EG select A1 to A6 run macro it will put the rank in B1-B6

    Then

    Select A8 to A10 run macro and it will put rank in B8 to B10

    etc etc

    however the data may not be in A column but all over the place

    I have over 3000 different chunks of data and doing this manually is time consuming as I need to keep changing the REF to ensure it only ranks the required group

    I would insert and example but I don't know how to do it

    Thanks in Advance

    Michael

  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: Rank to the right, function or Macro

    Hi and welcome to the forum

    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    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
    01-06-2014
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Rank to the right, function or Macro

    Thanks for the reply

    as you can see I have values down the furthest right column I want to rank them

    But where its all separated by an error I would like to rank them also to them-self's

    This is just a small example as the are 30000 rows of data

    excel exam.xlsx

  4. #4
    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: Rank to the right, function or Macro

    as you can see I have values down the furthest right column I want to rank them
    That column (colimn I) is all #REF errors? and the "chunks" you want to rank, they are divided by #VALUE?

    Perhaps show a few samples of what you want?

  5. #5
    Registered User
    Join Date
    01-06-2014
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Rank to the right, function or Macro

    sorry please see attached

    excel exam.xlsx

  6. #6
    Registered User
    Join Date
    01-06-2014
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Rank to the right, function or Macro

    Hi All Worth a one off bump

  7. #7
    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: Rank to the right, function or Macro

    Sorry for the delay. I think I have what you want, but I had to use 2 helper columns - you can hide these if you want.
    Attached Files Attached Files

  8. #8
    Registered User
    Join Date
    01-06-2014
    Location
    england
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Rank to the right, function or Macro

    Thanks for this
    It work would never of worked that out myself

  9. #9
    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: Rank to the right, function or Macro

    you'r welcome. If this answered your question, please take a moment to mark the thread as "solved" - it helps keep things neat and tidy lol, and consider adding the reputation to those that helped (see points 2 & 3 below my 1st post to you)

+ 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] Using the RANK function to rank decimal numbers
    By CRinne in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 10-29-2013, 02:14 PM
  2. Excel 2007 : Rank Function ?
    By ajmarti82 in forum Excel General
    Replies: 3
    Last Post: 05-16-2012, 01:40 PM
  3. rank function
    By regularjordon in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 02-03-2008, 05:28 PM
  4. [SOLVED] Rank Function
    By Andrew C in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-15-2006, 02:15 AM
  5. Need help with RANK function
    By butters14 in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 09-06-2005, 10:05 AM

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