+ Reply to Thread
Results 1 to 5 of 5

Remove blank cells or extract cells...

  1. #1
    Registered User
    Join Date
    05-20-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Remove blank cells or extract cells...

    Dear All,

    I am facing the following difficulty in excel.

    I have a table (matrix) as follows (for illustration purposes I will only use 4 rows, however the actual rows are more than 800):

    BLANK BLANK abc BLANK
    def BLANK BLANK BLANK
    BLANK ghi BLANK BLANK
    BLANK BLANK BLANK jkl

    consistinf of blank and text cells as above.

    I would like somehow to remove the blank cells, preserving the row number (i.e. not shifting cells up)

    or,

    I would like a way to extract the text cell from each line.

    In both ways the results I am trying to find should be a column like this

    abc
    def
    ghi
    jkl


    Any ideas?

    Thanks

  2. #2
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Remove blank cells or extract cells...

    1) Highlight the entire range of cells including blanks and filled in text cells
    2) Press F5 and click on Special
    3) Select Blanks and click on OK
    4) Now click on Edit > Delete
    5) Select Shift cells to left from the popup option window
    _________________
    Microsoft MVP 2010 - Excel
    Visit: Jerry Beaucaire's Excel Files & Macros

    If you've been given good help, use the icon below to give reputation feedback, it is appreciated.
    Always put your code between code tags. [CODE] your code here [/CODE]

    ?None of us is as good as all of us? - Ray Kroc
    ?Actually, I *am* a rocket scientist.? - JB (little ones count!)

  3. #3
    Registered User
    Join Date
    05-20-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Remove blank cells or extract cells...

    Hi, thanks for the quick reply.

    In step 3 of the above I get an error

    "No cells were found"

  4. #4
    Registered User
    Join Date
    05-20-2010
    Location
    London, England
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Remove blank cells or extract cells...

    found it. it seemed that the cell was not blank, but it was blank coming from a function. anyway, you helped a lot!

    thanks.

    case solved

  5. #5
    Forum Expert JBeaucaire's Avatar
    Join Date
    03-21-2004
    Location
    Bakersfield, CA
    MS-Off Ver
    2010, 2016, Office 365
    Posts
    33,492

    Re: Remove blank cells or extract cells...

    If that takes care of your need, please click EDIT in your original post, click GO ADVANCED and set the PREFIX box to SOLVED.

+ 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