+ Reply to Thread
Results 1 to 4 of 4

Removing empty cells

  1. #1
    Registered User
    Join Date
    11-06-2007
    Posts
    28

    Removing empty cells

    Hi Guys,

    Is there a way to remove vacant/empty cells quickly. I'm copying and pasting data from elsewhere that leaves every 6th cell in the column empty. Currently I'm scrolling down and Edit>Delete>Shift Cells up. Can I select the whole column and do it with a shortcut?? With approximately 10,000 entries I'm sure you can see why this would be handy. Unfortunately I'm a VERY basic excel user so I need your expertise.

    Thanks

    Crania

  2. #2
    Forum Expert Ron Coderre's Avatar
    Join Date
    03-22-2005
    Location
    Boston, Massachusetts
    MS-Off Ver
    2013, 2016, O365
    Posts
    6,996

    Removing empty cells

    Here are some options:

    If there's nothing important to the right of the data range.
    1) Select the data range
    2) Turn on AutoFilter....this way:<data><filter><autofilter>
    3) Click one of the drop-down arrows......Select: Blanks (at the bottom of the list)
    4) Select the blank cells under the drop-down arrows.
    5) Press the [Delete] key....(Autofilter only allows you to delete whole rows)
    6) Turn off the autofilter....this way:<data><filter><autofilter>

    or
    1) Select the first column of the data range cells
    2) [F5]....a shortcut for <edit><goto>
    3) Click [Special]....Check: Blanks.....Click [OK]
    ....now all of the blank cells are selected
    4)<edit><delete>....Check: Entire row.....Click [OK]

    BUT....if you need the contents of the cells to the right of the data range to remain intact:
    1) Select the data range
    2) [F5]....a shortcut for <edit><goto>
    3) Click [Special]....Check: Blanks.....Click [OK]
    ....now all of the blank cells are selected
    4)<edit><delete>....Check: Shift cells up.....Click [OK]

    Or
    1) Insert a column before the data range
    2) Put a 1 in the first cell of that column
    3) Use one of the methods for creating a series of number (1 thru 10,000)
    4) Select the data range (including the number series)
    5) Sort the range by the 2nd column then by the 1st column (both Ascending)
    ...That will cluster all of the blank cells to the bottom
    6) Select the range of blank cells.......<edit><delete>....Shift cells up....[OK]
    THEN....
    Sort again....by the 1st column only
    ...that will but the rows back in order

    Do any of those methods help?
    Ron
    Former Microsoft MVP - Excel (2006 - 2015)
    Click here to see the Forum Rules

  3. #3
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Crania

    Highlight your range, then edit, goto, special, blanks, OK, Then edit, delete, shift cells up, OK.


    rylo

  4. #4
    Registered User
    Join Date
    11-06-2007
    Posts
    28

    Thanks

    Hey Guys, I know my questions are no brainers to you guys but I really appreciate the help. Thanks heaps!!

+ 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