+ Reply to Thread
Results 1 to 3 of 3

Range skipping empty cells

  1. #1
    Registered User
    Join Date
    07-18-2009
    Location
    MODESTO,USA
    MS-Off Ver
    Excel 2007
    Posts
    53

    Question Range skipping empty cells

    Hello everybody, I need some help creating a range that skips empty cells.

    This is the deal: I have a column range called "Division" in worksheet "A". This range contains empty and non empty cells. I want to create a new column range in worksheet "B" with the same data as worksheet "A", but skipping the empty cells. That is I want a new column range that shows only non-empty cells.

    By the way the data is TEXT.

    Thanks.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258

    Re: Range skipping empty cells

    Hello CESAR V. ARROYO,

    This macro will copy the range in column "A" of "Sheet1" to column "A" on "Sheet2" with no blanks. Change the sheet names to match the names you are using.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Forum Expert jaslake's Avatar
    Join Date
    02-21-2009
    Location
    Atwood Lake in Mid NE Ohio...look it up.
    MS-Off Ver
    Excel 2010 2019
    Posts
    12,749

    Re: Range skipping empty cells

    Hi CESAR V. ARROYO
    You don't indicate if you're looking for a macro solution to your problem. You can do this in Excel by filtering out the blanks in the "Division" then copy and paste the filtered data to sheet B.
    John
    John

    If you have issues with Code I've provided, I appreciate your feedback.

    In the event Code provided resolves your issue, please mark your Thread as SOLVED.

    If you're satisfied by any members response to your issue please use the star icon at the lower left of their post.

+ 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