+ Reply to Thread
Results 1 to 9 of 9

Blank cells not blank

  1. #1
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Blank cells not blank

    Hello everyone,

    Can someone please help me figure out why the cells that appear blank are returning FALSE for isblank(ref)?

    The data type is text and I'm trying to run a macro that will remove all blank rows but I can until I figure out how to truly remove whatever is in the cells that appear blank.

    I've already checked for VBnewline and spaces.

    Once I double click in the cell and click out of it, the cell magically becomes truly blank. Why is this?

    I attached my sample data.

    Thank you,

    -Justin
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Blank cells not blank

    I've also tried non-breaking spaces and that isn't it either

  3. #3
    Valued Forum Contributor ImranBhatti's Avatar
    Join Date
    03-27-2014
    Location
    Rawalpindi,Pakistan
    MS-Off Ver
    Office 365
    Posts
    1,785

    Re: Blank cells not blank

    By refreshing the cells formula is returning true.It is possible that you have copied those cells which were blank due to a formula result .
    Teach me Excel VBA

  4. #4
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Blank cells not blank

    Quote Originally Posted by ImranBhatti View Post
    By refreshing the cells formula is returning true.It is possible that you have copied those cells which were blank due to a formula result .
    Thank you. Do you know an easy fix for a large amount of "data"?

  5. #5
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Blank cells not blank

    How is the data in B column populated?

    I'm guessing it's imported from some external application. It does not contain any character, but contains something.
    When you double click on a cell, it will go away and behave as normal.

    To fix, Ctrl+H and check "Match entire cell contents". Then leave "Find what:" blank and replace all with unique character (such as "@").
    Then replace "@" with blank.
    "Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something."
    ― Robert A. Heinlein

  6. #6
    Forum Contributor
    Join Date
    01-08-2013
    Location
    Jacksonville, Fl
    MS-Off Ver
    Excel 2016
    Posts
    355

    Re: Blank cells not blank

    Quote Originally Posted by CK76 View Post
    How is the data in B column populated?

    I'm guessing it's imported from some external application. It does not contain any character, but contains something.
    When you double click on a cell, it will go away and behave as normal.

    To fix, Ctrl+H and check "Match entire cell contents". Then leave "Find what:" blank and replace all with unique character (such as "@").
    Then replace "@" with blank.
    Perfect! Thank you so much!

  7. #7
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    MS365 Apps for enterprise
    Posts
    5,973

    Re: Blank cells not blank

    You are welcome

  8. #8
    Registered User
    Join Date
    01-10-2020
    Location
    Las Vegas, NV
    MS-Off Ver
    2010
    Posts
    1

    Re: Blank cells not blank

    I had this same problem and your solution worked perfectly. Thank you so much!

  9. #9
    Registered User
    Join Date
    08-25-2014
    Location
    Beyond the Rainbow
    MS-Off Ver
    2010
    Posts
    21

    Re: Blank cells not blank

    Also my thanks - this solved my problem!

+ 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. Count blank cells in a range and contiguous blank cells also as single cells! Tricky One!
    By SebastianColombia in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2015, 02:32 PM
  2. VBA: Copy non-blank and paste to separate sheet ONLY blank cells (running list)
    By brolsen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-10-2014, 03:34 PM
  3. Replies: 11
    Last Post: 09-15-2014, 02:36 AM
  4. [SOLVED] Macro to fill blank cells in column A based on non-blank cells
    By ktalamantez in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-28-2014, 02:47 PM
  5. Replies: 5
    Last Post: 08-26-2013, 06:26 PM
  6. How can I make a macro ignore blank cells? - Blank Cells have formulas
    By mz1161 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 04-30-2013, 08:54 AM
  7. Advanced filter with blank cells / Dynamic named range with blank cells
    By Jason_2112 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-15-2010, 12:06 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