+ Reply to Thread
Results 1 to 5 of 5

Macro to combine cells in a row to 1 cell while skipping blank cells

  1. #1
    Registered User
    Join Date
    11-05-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Macro to combine cells in a row to 1 cell while skipping blank cells

    Hey ajryan88

    Thanks again for your awesome excel macro. It works perfectly. However, in addition to what the macro already does, it is possible to add another work sheet in the same work book that outputs the values in separate cells? It also has to output the data in order: for example, in the first work sheet the data is inputted at random and has spaces but the macro will have to remove all the blank cells and output them in order based on the first value in the test string, 1, 2, 3, 4, and then 5;


    input:

    blank 3-x Blank 1-y blank 2-z 1-k

    output:

    1-k 1-x 2-z 3-y

    Please let me know if you can make this happen and what i can do in exchange for your help.

    Thanks

    -Yong
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Macro to combine cells in a row to 1 cell while skipping blank cells

    Let me know if this works for you?
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    11-05-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Macro to combine cells in a row to 1 cell while skipping blank cells

    Thanks again for your awesome macro and the speedy reply. It works just the way i wanted. I owe you one.

  4. #4
    Valued Forum Contributor
    Join Date
    02-08-2012
    Location
    Newcastle, Australia
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    1,429

    Re: Macro to combine cells in a row to 1 cell while skipping blank cells

    No problems

    You can say thanks by clicking on the * next to my post

  5. #5
    Registered User
    Join Date
    11-05-2013
    Location
    USA
    MS-Off Ver
    Excel 2010
    Posts
    13

    Re: Macro to combine cells in a row to 1 cell while skipping blank cells

    Do you mean the "Add Reputation" icon? when i click on it it says i have spread some reputation around before i can give it. What does that mean?

+ 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] Combine multiple cells text into one cell, skip blank cells.
    By T15K in forum Excel General
    Replies: 6
    Last Post: 12-05-2014, 09:49 PM
  2. [SOLVED] Macro to combine cells in a row to 1 cell while skipping blank cells
    By ywang in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-02-2014, 07:41 PM
  3. Skipping blank cells & entering next cell with text
    By Phily915 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-18-2014, 03:58 PM
  4. Replies: 0
    Last Post: 03-05-2013, 09:22 AM
  5. Collecting data from filled cells and skipping blank cells
    By KellieB in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-20-2012, 09:45 PM

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