+ Reply to Thread
Results 1 to 3 of 3

Combining two columns into a single columns eliminating blanks

  1. #1
    Forum Contributor
    Join Date
    11-13-2010
    Location
    Berkley, Michigan
    MS-Off Ver
    Excel 2008 for Mac
    Posts
    302

    Combining two columns into a single columns eliminating blanks

    I've attached a sample.

    As you'll see I've applied a formula in Column V and arrayed down.

    {=IFERROR(IFERROR(INDEX($K$9:$K$59,SMALL(IF($K$9:$K$59<>"",ROW($K$9:$K$59)-ROW($K$9)+1),ROWS($K$1:$K1))),INDEX($L$9:$L$59,SMALL(IF($L$9:$L$59<>"",ROW($L$9:$L$59)-ROW($L$9)+1),ROWS($L$1:$L1)-COUNTIF($K$9:$K$59,"<>")))),"")}

    It is picking up Column K then there's 14 blank rows then Column L appears, the 14 blanks are from the first 14 rows before a Column L number appears.

    How can I eliminate all blanks and zero's???? and have one continuous Column V of numbers?
    Attached Files Attached Files

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,902

    Re: Combining two columns into a single columns eliminating blanks

    First, to keep column K cleaner and getting rid of the 0's, try replacing formula in K9 with:

    Please Login or Register  to view this content.
    Then, as we discussed in a previous thread, because you have formula nulls we need to replace this part of the formula in column V: COUNTIF($K$9:$K$59,"<>") with COUNTIF($K$9:$K$59,"?*")

    so the formula is now:

    Please Login or Register  to view this content.
    confirmed with CTRL+SHIFT+ENTER
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    21,528

    Re: Combining two columns into a single columns eliminating blanks

    If the ordering of the numbers is not important (ie retrieve in order) then you can leave K as is if you wish and use the below:

    Please Login or Register  to view this content.
    of course the above is designed specifically with numbers in mind - per all of your prior threads on this topic (of which there are seemingly many)

+ 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