Results 1 to 3 of 3

Thread: How to replace a null string with blank cell in Microsoft Excel

  1. #1
    Join Date
    Jan 2012
    Posts
    23

    How to replace a null string with blank cell in Microsoft Excel

    I have a large table which was created via lookups from other tables. Many of the entries are (or should be) blank. After the table was created, I converted everything to values (Paste Special/Values) in order to save memory. However, the table now contains a null string or other unprintable character in each of the "blank" cells. Thus, if I use END-DN or END-UP to find the next value in the table, the cursor goes to the end of the table, as it sees something in each cell. If I edit a "Blank" cell, I see no characters, and if I select the formula bar & hit ENTER, the cell becomes truly blank.

    I realize this is similar to the issue MJ had a few weeks ago, in fact I found this forum via a Google search which turned up that thread. None of the methods proposed there appear to address the issue of making a blank cell truly blank. I am hoping some of you have a method to do this short of selecting the cells & deleting the null strings manually, as the spreadsheet is much too large to do this way.

  2. #2
    Join Date
    Aug 2011
    Posts
    566

    Re: How to replace a null string with blank cell in Microsoft Excel

    After you convert to values, you can see that those "empty" cells aren't really empty. Click on Tools > Options > Transition tab > check Transition navigation keys (remember to toggle it off later!)/ Now look at the formula bar for one of those empty cells--you'll see a single quote. I usually use a formula like: =if(a1=0,"ok",na()) (change your formula to return #n/a! instead of "".) convert to values and then do that Edit|replace on the #n/a! string.

  3. #3
    Join Date
    Aug 2011
    Posts
    695

    Re: How to replace a null string with blank cell in Microsoft Excel

    I would like if possible to be able to do my between the same but with a bogus date 9999-01-01 genre to place my request that I return anything because it is a null in the dated. You want your return value is set to a default date if its value is NULL/ If this is the case, you have the SQL function "IFNULL" (or ISNULL for MSSQL) to use as follows: SELECT IFNULL (field_name, 'value_replacement_is_NULL') FROM table_name. It has the effect of replacing NULL with a default value when returning data.

Similar Threads

  1. How to replace all paragraph marks in Microsoft Excel
    By Tritanic in forum MS Office Support
    Replies: 2
    Last Post: 09-02-2012, 07:36 PM
  2. Cell borders are missing in Microsoft Excel
    By GuruT in forum MS Office Support
    Replies: 6
    Last Post: 13-01-2012, 06:08 PM
  3. Problem with a null string in java
    By Rily in forum Software Development
    Replies: 4
    Last Post: 12-08-2010, 10:23 AM
  4. How to check java string not null or blank
    By Capper in forum Software Development
    Replies: 4
    Last Post: 30-07-2009, 07:11 PM
  5. SQL need to check null or empty string
    By B_Hodge in forum Software Development
    Replies: 3
    Last Post: 18-06-2009, 11:44 AM

Tags for this Thread

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
  •  
Page generated in 1,715,617,858.26586 seconds with 17 queries