+ Reply to Thread
Results 1 to 3 of 3

PLEASE HELP! Sorting numbers(make gap where missing number)now with example i xlsx

  1. #1
    Registered User
    Join Date
    12-21-2009
    Location
    Norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    PLEASE HELP! Sorting numbers(make gap where missing number)now with example i xlsx

    Hi.

    I made a list(see attachment).

    colum A is in order low to high number.
    but when i sort colum B i want it to live a gap where im missing a number.
    Now it just makes the list form low to high.
    is it possible?
    i want it like i sett it up in the ok.jpg

    hope on quick respons.
    Attached Images Attached Images
    Attached Files Attached Files
    Last edited by jegerikke; 12-23-2009 at 02:32 AM. Reason: NEED HELP

  2. #2
    Forum Contributor
    Join Date
    12-02-2009
    Location
    Akron, Ohio
    MS-Off Ver
    Excel 2010
    Posts
    208

    Re: Sorting numbers(make gap where missing number)

    Your spacing in the OK version is not consistent so it's hard to tell exactly what you're looking for.

    With some code you could sort the column, put it into an array and then compare the array elements and put it back into the column with spacing, but you have to decide what the spacing "rule" will be.

  3. #3
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Sorting numbers(make gap where missing number)

    post a workbook not a picture, with on sheet showing sample of original and another showing expected result
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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