+ Reply to Thread
Results 1 to 6 of 6

Number Reordering

  1. #1
    Registered User
    Join Date
    11-15-2012
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    41

    Number Reordering

    Hey -

    I'm stuck and can't find a clean response online. I have a large spreadsheet of 10 columns with numbers ranging from 1-999. I'm trying to write a formula that will put the numbers in ascending order (lowest to highest) in the 10 columns next to it.

    I've attached an example of one line.

    Any thoughts/help would be greatly appreciated.

    Brian
    Attached Files Attached Files
    Last edited by bdpate09; 05-27-2020 at 09:35 AM.

  2. #2
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,900

    Re: Number Reordering

    You can use the Data Sort button and sort by columns, you'll have to get rid of the nasty merged cells you used, merged cells a p in the A
    ---
    Hans
    "IT" Always crosses your path!
    May the (vba) code be with you... if it isn't; start debugging!
    If you like my answer, Click the * below to say thank-you

  3. #3
    Registered User
    Join Date
    11-15-2012
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Number Reordering

    Sorry...my example sheet is only one line. My confidential data has 4K+ (and growing) rows. So I need to write a formula in columns K-T to reorder them per line. I don't think a data sort will work for this.

    I was messing with the Min/Max formulas, but it obviously only works for the first and last numbers. This is just over me head technically.
    Last edited by bdpate09; 05-27-2020 at 09:45 AM.

  4. #4
    Valued Forum Contributor
    Join Date
    03-24-2020
    Location
    Thailand
    MS-Off Ver
    Office 2016
    Posts
    848

    Re: Number Reordering

    Hi bdpate09,

    Try in K2: =SMALL($A2:$J2,COLUMNS($A$1:A$1)) pull to the right and down.

    Hope this helps.

  5. #5
    Registered User
    Join Date
    11-15-2012
    Location
    NYC
    MS-Off Ver
    Excel 2010
    Posts
    41

    Re: Number Reordering

    Worked perfect ORoos! Thanks a ton.

  6. #6
    Forum Expert Keebellah's Avatar
    Join Date
    01-12-2014
    Location
    The Netherlands
    MS-Off Ver
    Office 2021 (Windows)
    Posts
    7,900

    Re: Number Reordering

    See, vba is trial and error and ... Google

+ 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. Optimization by reordering
    By kellew in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-19-2019, 05:27 PM
  2. Removing Duplicates and Reordering
    By HB07 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2015, 12:54 PM
  3. [SOLVED] Reordering Data
    By akboche in forum Excel General
    Replies: 5
    Last Post: 01-09-2015, 03:23 PM
  4. Reordering Rows
    By VelvetRevolver84 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-01-2013, 12:15 AM
  5. [SOLVED] Reordering Charts
    By PlamenGo in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 09-02-2012, 11:54 AM
  6. reordering issue
    By fa5fou5 in forum Excel General
    Replies: 4
    Last Post: 02-09-2012, 12:06 PM
  7. Reordering a list
    By Buffy500 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-20-2009, 05:38 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