+ Reply to Thread
Results 1 to 17 of 17

Mystery blank cells

  1. #1
    Registered User
    Join Date
    12-17-2003
    Location
    NJ, USA
    MS-Off Ver
    2010
    Posts
    8

    Mystery blank cells

    I have a spreadsheet with many seemingly blank cells. However, "F5 (Go to) | Special | Blanks" does not select any of them. I also tried the ISBLANK function on some of them and excel (2010) returns FALSE. I want to delete the content of these cells. Please help. Thanks.

    Sameer

  2. #2
    Forum Expert
    Join Date
    09-27-2011
    Location
    Poland
    MS-Off Ver
    Excel 2007
    Posts
    1,312

    Re: Mystery blank cells

    Hi
    Could You send sample workbook? Check color of font (maybe you have conditional formating with white color of font)
    Regards

    tom1977

    If You are satisfied with my solution click the small star icon on the left to say thanks.

  3. #3
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Mystery blank cells

    It's called NULL. Kinda like when you press the Space Key and Excel recognize "the space" as a value. If you delete the cell, Isblank() should give you "TRUE" instead of False.

  4. #4
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mystery blank cells

    Several possibilites
    The one tom mentioned above (values are whited out so to speak)
    You have spaces in those cells " ". Go to cell and see if the cursor will move around in the formula bar.
    You have other invisible characters. In another blank cell, enter = CODE(A1) where A1 is the cell you're investigating. See if a number comes up.
    You have a null string in those cells "" These can be left over in cells where there used to be formulas. Best way to get rid of these is Data> Text to Columns>Finish

    Hope that helps.
    ChemistB
    My 2?

    substitute commas with semi-colons if your region settings requires
    Don't forget to mark threads as "Solved" (Edit First post>Advanced>Change Prefix)
    If I helped, Don't forget to add to my reputation (click on the little star at bottom of this post)

    Forum Rules: How to use code tags, mark a thread solved, and keep yourself out of trouble

  5. #5
    Registered User
    Join Date
    12-17-2003
    Location
    NJ, USA
    MS-Off Ver
    2010
    Posts
    8

    Re: Mystery blank cells

    Quote Originally Posted by JieJenn View Post
    It's called NULL. Kinda like when you press the Space Key and Excel recognize "the space" as a value. If you delete the cell, Isblank() should give you "TRUE" instead of False.
    The seemingly blank cells are spread out over the entire spreadsheet. I would have to navigate to each cell and then press delete. I would like to select these cells all at once and then press delete. Thanks.

  6. #6
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mystery blank cells

    Are they interspersed with your data or after your data?
    If after, select the last row after your data, CNTRL SHIFT Down Arrow to select all remaining rows
    Right click and Delete
    Do the same with the last column after your data with right arrow.
    Save and close the workbook, then reopen and all those cells will be blank

  7. #7
    Registered User
    Join Date
    12-17-2003
    Location
    NJ, USA
    MS-Off Ver
    2010
    Posts
    8

    Re: Mystery blank cells

    Quote Originally Posted by ChemistB View Post
    Are they interspersed with your data or after your data?
    If after, select the last row after your data, CNTRL SHIFT Down Arrow to select all remaining rows
    Right click and Delete
    Do the same with the last column after your data with right arrow.
    Save and close the workbook, then reopen and all those cells will be blank
    The cells are interspersed with the data

  8. #8
    Forum Expert martindwilson's Avatar
    Join Date
    06-23-2007
    Location
    London,England
    MS-Off Ver
    office 97 ,2007
    Posts
    19,320

    Re: Mystery blank cells

    what does =CODE() return for any of those cells?
    "Unless otherwise stated all my comments are directed at OP"

    Mojito connoisseur and now happily retired
    where does code go ?
    look here
    how to insert code

    how to enter array formula

    why use -- in sumproduct
    recommended reading
    wiki Mojito

    how to say no convincingly

    most important thing you need
    Martin Wilson: SPV
    and RSMBC

  9. #9
    Registered User
    Join Date
    12-17-2003
    Location
    NJ, USA
    MS-Off Ver
    2010
    Posts
    8

    Re: Mystery blank cells

    Quote Originally Posted by martindwilson View Post
    what does =CODE() return for any of those cells?
    CODE() results in a #VALUE! error

  10. #10
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2010
    Posts
    40,678

    Re: Mystery blank cells

    Maybe post a workbook ...
    Entia non sunt multiplicanda sine necessitate

  11. #11
    Registered User
    Join Date
    12-17-2003
    Location
    NJ, USA
    MS-Off Ver
    2010
    Posts
    8

    Re: Mystery blank cells

    Here's a column from the spreadsheet with the "blank" cells.
    Attached Files Attached Files

  12. #12
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Mystery blank cells

    Try

    Please Login or Register  to view this content.

  13. #13
    Forum Guru
    Join Date
    08-05-2004
    Location
    NJ
    MS-Off Ver
    365
    Posts
    13,582

    Re: Mystery blank cells

    As per post 4 "Best way to get rid of these is Data> Text to Columns>Finish"
    Although your data is currently stored as text. Text to Columns>Finish will convert them to numbers.
    If you want them to stay as text
    After clicking on "Text to Columns" go "Next", "Next" then click the "Text" radio button and "Finish"

    You can only do 1 column at a time this way but certainly much faster than cell by cell
    Does that help?

    Alternately, I'm sure a macro could be written to go through your range and clean up those "blank" cells.
    EDIT: Ha, JieJenn already beat me to it!
    Last edited by ChemistB; 05-11-2012 at 02:51 PM.

  14. #14
    Forum Expert
    Join Date
    12-15-2009
    Location
    Chicago, IL
    MS-Off Ver
    Microsoft Office 365
    Posts
    3,177

    Re: Mystery blank cells

    Quote Originally Posted by ChemistB View Post
    As per post 4 "Best way to get rid of these is Data> Text to Columns>Finish"
    Although your data is currently stored as text. Text to Columns>Finish will convert them to numbers.
    If you want them to stay as text
    After clicking on "Text to Columns" go "Next", "Next" then click the "Text" radio button and "Finish"

    You can only do 1 column at a time this way but certainly much faster than cell by cell
    Does that help?

    Alternately, I'm sure a macro could be written to go through your range and clean up those "blank" cells.
    EDIT: Ha, JieJenn already beat me to it!
    If you do come up with a solution it probably would be 3x more efficient than mine.

  15. #15
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Mystery blank cells

    This thread I started some time ago has some examples and comments that might be of interest to you.

    What is in these cells?

  16. #16
    Registered User
    Join Date
    12-17-2003
    Location
    NJ, USA
    MS-Off Ver
    2010
    Posts
    8

    Re: Mystery blank cells

    Thanks JieJenn. The macro works flawlessly.

  17. #17
    Registered User
    Join Date
    12-17-2003
    Location
    NJ, USA
    MS-Off Ver
    2010
    Posts
    8

    Re: Mystery blank cells

    Yes. Text to Columns works, even if a column at a time. Thanks for the help!

+ 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