+ Reply to Thread
Results 1 to 4 of 4

Ranking portions of data

  1. #1
    Registered User
    Join Date
    03-18-2013
    Location
    New York, New York
    MS-Off Ver
    Excel 2011 Mac
    Posts
    30

    Ranking portions of data

    I have a problem with ranking of data.

    I have 4,300 cells populated with data. This data has been sorted and now I need to rank the data in 1% increments. For example, the first 1% of data (43 cells) will be ranked #1, the second 1% of data will be ranked #2 etc. How can I automate this process? I tried playing around with the "Rank" command but that did not seem to work.


    Thanks so much

  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,047

    Re: Ranking portions of data

    Hi and welcome to the forum

    It would probably help if we could see a small potion of the data you are working with (without any sensitive data)

    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
    02-16-2013
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    2

    Re: Ranking portions of data

    Hi,

    use this =RANK(A1,$A$1:$A$43)+COUNTIF($A$1:A1,A1)-1

  4. #4
    Registered User
    Join Date
    03-18-2013
    Location
    New York, New York
    MS-Off Ver
    Excel 2011 Mac
    Posts
    30

    Re: Ranking portions of data

    Hello. Thank you for your help. I tried your formula and it didnt seem to work. I maybe doing something wrong though. Martindwilson on another subforum posted the following answer. I tried it and it works. Thank you again for replying.

    if you just want to put 1 against the 1- 43 then 2 from 44-86 and so on
    =CEILING(ROWS($A$1:A1)/43,1)

+ 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