+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Registered User
    Join Date
    03-12-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    3

    Is it possible to insert a TRUE blank into a cell?

    Hello,

    After searching I couldn't find a solution to this problem.

    "" or " " is not treated as a true blank by excel. It is in terms of formulas like Average(), but not when graphing. "" or " " is interpreted as a 0 data point on a graph.

    #N/A is ignored by graphs, but will break formulas.

    The only way to have a cell interpreted correctly in terms of both graphing and formulas, is to have it as a true blank, ie an unmodified cell. Is there any way to set a cell to this state?

  2. #2
    Forum Moderator Paul's Avatar
    Join Date
    02-05-2007
    Location
    Wisconsin
    MS-Off Ver
    2007
    Posts
    5,213

    Re: Is it possible to insert a TRUE blank into a cell?

    Hi Eric, welcome to the forum.

    You can't enter a true blank using a formula, so your options are limited to selecting the cell and pressing Delete, or using VBA to clear the cell's contents, e.g.
    Code:
    Range("A1").ClearContents

  3. #3
    Registered User
    Join Date
    03-12-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Is it possible to insert a TRUE blank into a cell?

    This is a big oversight by Microsoft.

    This means there is no way to graph and run simple formula calculations on the same data set without misrepresenting empty fields. For my application there is a big difference between no data, and zero.

    The only way I can see to do what I need to is very inefficient, Duplicating the whole data set and modifying each one differently. One for graphing with #N/A replacements and one for statistics with "" replacements.

  4. #4
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,137

    Re: Is it possible to insert a TRUE blank into a cell?

    You could autofilter to hide the rows you don't want plotted.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

  5. #5
    Registered User
    Join Date
    03-12-2010
    Location
    Boston
    MS-Off Ver
    Excel 2003
    Posts
    3

    Re: Is it possible to insert a TRUE blank into a cell?

    Quote Originally Posted by shg View Post
    You could autofilter to hide the rows you don't want plotted.
    This doesn't work. If you graph a set where you autofilter out the unwanted values that whole category of points is omitted from all the data sets you are comparing in the graph.

    Example:

    ____________set1_____ set2
    first field ______10_____ X
    second field ___20 _____5
    third field ___ ___X _____13
    fourth field _____34_____ 7
    fifth field ___ ___X ___ ___X
    average ______21.3 ____8.3


    If I autofilter out all the X's, then on a graph I only get the second field, fourth field and average plotted because every row with an X is hidden.

    I want the output given by graphing

    ______________set1___ set2
    first field ________10
    second field _____20 ___5
    third field ____________ 13
    fourth field ______34 ____7
    fifth field
    Average ______21.3 ____8.3

    Ie. I want the graph to show that for the first field, set1 has a value of 10 while there was no datapoint for set2. With autofilter, it just wipes the whole first, third, and fifth fields off of the graph.

    Edit: I tried to make that more legible with underscores.
    Last edited by EricLindros; 03-12-2010 at 03:47 PM.

  6. #6
    Forum Moderator shg's Avatar
    Join Date
    06-21-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2003, 2007
    Posts
    25,137

    Re: Is it possible to insert a TRUE blank into a cell?

    Post a workbook and explain in context.
    Microsoft MVP - Excel
    Entia non sunt multiplicanda sine necessitate

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.2.0