+ Reply to Thread
Results 1 to 11 of 11

How to sort a column with blanks to another without!

  1. #1
    Registered User
    Join Date
    10-03-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    19

    How to sort a column with blanks to another without!

    Hello everyone,

    I have a column with blanks , I want to sort them in another column sequentially ,, any idea ?



    Thanks in advance
    Attached Images Attached Images

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,026

    Re: How to sort a column with blanks to another without!

    Is this an Excel question, or a Googlesheets question, or what???

    This will work with Excel 2010+. I have no idea if there is an equivalent in GS:

    =IFERROR(INDEX(D:D,AGGREGATE(15,6,ROW($D$2:$D$19)/($D$2:$D$19<>""),ROWS(G$2:G2))),"")

    copied down. See sheet.
    Attached Files Attached Files
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    10-03-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    19

    Thumbs up Re: How to sort a column with blanks to another without!

    Glenn ,,

    Thanks a lot , yes it works with office as you explained , I am on google sheet unfortunately ,
    I tried to upload it maybe google sheet can do something , but didt work out , do you know how to do it with GoogleSheets ?

  4. #4
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: How to sort a column with blanks to another without!

    Maybe
    =SORT(FILTER(C3:C20,C3:C20<>""))

  5. #5
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    171

    Re: How to sort a column with blanks to another without!

    For Google Sheets, if column A has the numbers with spaces, put the following in the column you want the sorted numbers:

    =SORT(A1:A,1,TRUE)

  6. #6
    Registered User
    Join Date
    10-03-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    19

    Re: How to sort a column with blanks to another without!

    Quote Originally Posted by Fluff13 View Post
    Maybe
    =SORT(FILTER(C3:C20,C3:C20<>""))
    Yes, that is exactly what I wanted , it works perfectly , Thanks a lot

  7. #7
    Forum Guru
    Join Date
    09-10-2017
    Location
    Chippenham, England
    MS-Off Ver
    365
    Posts
    15,078

    Re: How to sort a column with blanks to another without!

    Glad to help & thanks for the feedback

  8. #8
    Registered User
    Join Date
    10-03-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    19

    Re: How to sort a column with blanks to another without!

    Quote Originally Posted by Flyboy65 View Post
    For Google Sheets, if column A has the numbers with spaces, put the following in the column you want the sorted numbers:

    =SORT(A1:A,1,TRUE)
    Pardon my friend , the values are from z to a , can i reverse the order ?

  9. #9
    Forum Contributor
    Join Date
    12-17-2013
    Location
    ON, Canada
    MS-Off Ver
    MS 365
    Posts
    171

    Re: How to sort a column with blanks to another without!

    ElGendi, Change the TRUE to FALSE

  10. #10
    Registered User
    Join Date
    10-03-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    19

    Re: How to sort a column with blanks to another without!

    Hi,
    Excuse me , I did mean the (Fluff13 ) formula , the one I want to reverse , but while trying yours as well worked out , and the reverse was resolved as well , but it's very down to the list no in the upside where I did type the formula

  11. #11
    Registered User
    Join Date
    10-03-2020
    Location
    Istanbul
    MS-Off Ver
    2016
    Posts
    19

    Re: How to sort a column with blanks to another without!

    just for reference for whoever might need it, I used
    =LARGE(AB1588:AB1637,1)
    =LARGE(AB1588:AB1637,2)
    =LARGE(AB1588:AB1637,3)

    =small(AA1588:AA1637,1)
    =small(AA1588:AA1637,2)
    =small(AA1588:AA1637,3)

    of course my solution is good with small entries , but the above ones from our friends would be efficient in case you are dealing with large scale.

    Thanks all for your time.

    Regards!

+ 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] Sort on Column 'A' ignore blanks
    By majime01 in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 05-13-2019, 04:49 AM
  2. [SOLVED] Sort column data separated by blanks into other column
    By vivmahal in forum Excel General
    Replies: 16
    Last Post: 12-01-2016, 08:52 AM
  3. Replies: 1
    Last Post: 04-16-2015, 06:29 PM
  4. Replies: 2
    Last Post: 09-26-2014, 04:28 PM
  5. Sort multiple columns to one column, skip blanks
    By AlexCoyne in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 05-20-2013, 03:13 PM
  6. Scan a Column A (numbers and blanks) and copy its contents WITHOUT BLANKS into Column B
    By bighandsam in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-12-2012, 05:16 PM
  7. How NOT to Sort Blanks that aren't Blanks
    By Tirren in forum Excel General
    Replies: 1
    Last Post: 08-17-2009, 01:45 PM

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