+ Reply to Thread
Results 1 to 4 of 4

Sort column with row numbers

  1. #1
    Registered User
    Join Date
    11-16-2016
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    35

    Sort column with row numbers

    Hello,

    I need your help. I have a column with values that I would like to sort. I would like to have the row number for each sorted values like:

    Ex
    ===

    5
    3
    6
    4

    And the output I would like to a have is:

    3 2
    4 4
    5 1
    6 3

    Are there any quick way to do this? I got 60000 values I would like to sort ...


    Cheers
    Raffe

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Sort column with row numbers

    Enter formula in B1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    then in C1 and copy down
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    v A B C
    1 5 3 2
    2 3 4 4
    3 6 5 1
    4 4 6 3
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Sort column with row numbers

    Hi Raffe

    Try something like this...
    Please Login or Register  to view this content.
    Attached Files Attached Files
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

  4. #4
    Registered User
    Join Date
    11-16-2016
    Location
    Sweden
    MS-Off Ver
    2016
    Posts
    35

    Re: Sort column with row numbers

    Thank you very much! Very kind people here!

+ 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. How to sort numbers in one column with numbers in another column?
    By Darjan in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-07-2016, 06:58 AM
  2. [SOLVED] Sort numbers & drag across corresponding column text
    By rooboyz in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-16-2013, 11:20 PM
  3. How to sort Numbers & Text in one column -- Pivot mixes them up
    By markDuffy in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 02-14-2013, 03:36 PM
  4. Replies: 7
    Last Post: 07-24-2010, 08:07 PM
  5. sort and column numbers
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-18-2006, 10:30 AM
  6. sort and return column numbers
    By [email protected] in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 05-16-2006, 06:45 AM
  7. [SOLVED] sort a column of numbers with 100510 and 10160 so they are in th.
    By Uncle Al in forum Excel General
    Replies: 6
    Last Post: 02-02-2005, 09:06 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