Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Worksheet Functions / September 2005

Tip: Looking for answers? Try searching our database.

Generating truly blank cells

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Nat - 30 Sep 2005 14:43 GMT
I am using an IF function to generate data for an array. Under certain
conditions a given cell should generate a totally blank cell, as opposed to a
zero value.  I have been trying to use a formula such as:

=IF(A10>A1,A10,"")

The problem relates to the use of "" in the creation of data arrays.

Once the array has been created I have copied all of the formula results and
converted them to values, i.e. I have eliminated the formula and now merely
have an array of data that was created using a formula. I have been trying to
use the Data Analysis tool to run a Descriptive Statistics summary for each
column of the array. However, when attempting to do so I receive an error
message that says non-numeric information is included in the array, i.e. the
cells that appear empty are being recognized as non-numeric information.
Those cells were originally created as "" cells when using the function. I
know that I could locate each "blank" cell and delete its contents, which
works, but is infeasible as my data array is rather large.

I am in need of a simple solution that either 1) creates truly blank cells
in the original function used to create the array or 2) allows me to convert
those "blank cells" to cells that are recognized as being truly empty by the
Descriptive Statistics tool.
Max - 30 Sep 2005 15:07 GMT
Not sure, but you could try this .. After converting to values, do an
autofilter on the column, select: (blanks).  Then just select the filtered
"blank" range and do a right-click > Clear contents.
--
Rgds
Max
xl 97
---
Singapore, GMT+8
xdemechanik
http://savefile.com/projects/236895
--
> I am using an IF function to generate data for an array. Under certain
> conditions a given cell should generate a totally blank cell, as opposed to a
[quoted text clipped - 19 lines]
> those "blank cells" to cells that are recognized as being truly empty by the
> Descriptive Statistics tool.
Duke Carey - 30 Sep 2005 16:35 GMT
Change your formula so that it returns a space instead of a blank.  After
you've converted the formulas to values, search & replace, substituting
nothing for spaces, but be sure to tell the search to look at entire cell

> I am using an IF function to generate data for an array. Under certain
> conditions a given cell should generate a totally blank cell, as opposed to a
[quoted text clipped - 19 lines]
> those "blank cells" to cells that are recognized as being truly empty by the
> Descriptive Statistics tool.
Dave Peterson - 30 Sep 2005 23:39 GMT
I use a variation of your recommendation:

=IF(A10>A1,A10,na())
Then drag down???

Then I select the range and use Edit|goto|special and clean up the formulas with
errors (or values with errors if I converted to values).

> Change your formula so that it returns a space instead of a blank.  After
> you've converted the formulas to values, search & replace, substituting
[quoted text clipped - 23 lines]
> > those "blank cells" to cells that are recognized as being truly empty by the
> > Descriptive Statistics tool.

Signature

Dave Peterson

Harlan Grove - 30 Sep 2005 16:54 GMT
Nat wrote...
...
>The problem relates to the use of "" in the creation of data arrays.
...
>I am in need of a simple solution that either 1) creates truly blank cells
>in the original function used to create the array or 2) allows me to convert
>those "blank cells" to cells that are recognized as being truly empty by the
>Descriptive Statistics tool.

There's no direct solution because BLANK corresponds the the same value
as VBA's Empty, but there's no way to produce it in formulas. So your
option 1 can't be done. As for 2, the only thing you could do is clear
the nonnumeric cells. If you're using Edit > Paste Special, Values to
produce your data ranges, then just after pasting press [F5], click on
the Special... button, select Constants and uncheck the Numbers check
box, and click OK. At this point, only the cells with nonnumeric values
would remain selected. Just press [Delete] to clear them.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.