ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   how to get a function to return a null value that passes the ISBL. (https://www.excelbanter.com/excel-worksheet-functions/178663-how-get-function-return-null-value-passes-isbl.html)

hawk

how to get a function to return a null value that passes the ISBL.
 
How do I get a function to return a null value that passes the ISBLANK test?
Using "" doesn't do it.

Barb Reinhardt

how to get a function to return a null value that passes the ISBL.
 
I don't believe you can use ISBLANK to check what's returned by a function.
What are you checking for? Maybe another function will work.
--
HTH,
Barb Reinhardt



"Hawk" wrote:

How do I get a function to return a null value that passes the ISBLANK test?
Using "" doesn't do it.


Niek Otten

how to get a function to return a null value that passes the ISBL.
 
Can't you use "" instead?

Then test with =IF(A1="","yes","no") instead of =ISBLANK(A1,"yes","no")

--
Kind regards,

Niek Otten
Microsoft MVP - Excel

"Hawk" wrote in message ...
| How do I get a function to return a null value that passes the ISBLANK test?
| Using "" doesn't do it.



Ron Rosenfeld

how to get a function to return a null value that passes the ISBL.
 
On Tue, 4 Mar 2008 05:00:02 -0800, Hawk wrote:

How do I get a function to return a null value that passes the ISBLANK test?
Using "" doesn't do it.


It is not possible. If there is anything in the cell, including a function,
then ISBLANK will return FALSE (because the cell is NOT blank; it has a
function in the cell).

Depending on what you are trying to do, you could perhaps use

=LEN(cell_ref)=0

or

=cell_ref=""
--ron

hawk

how to get a function to return a null value that passes the ISBL.
 
I've done more searching and I don't think there is a way to do this. It's
not the logical test afterward I'm thinking of, it's having the cell itself
completely blank. I'm using Excel to arrange data for output to a text file
for Abaqus input. Column A has a header text sting for the data in columns
B. C, etc. If a row has a header string it doesn't have data and vice versa.

I have a formula that takes info from col B on another worksheet, performs a
calc if there is a value to work with, and otherwise leaves the cell blank.
Having the 'not really blank' cell causes the header row to be truncated.
Seems strange that getting a truly blank cell is not possible, but I guess if
there is a formula there it's no longer completely blank.

Thanks for the quick replies.

"Hawk" wrote:

How do I get a function to return a null value that passes the ISBLANK test?
Using "" doesn't do it.


hawk

how to get a function to return a null value that passes the ISBL.
 
Sorry Ron, didn't see your post b4 I posted my last one. Thanks.

"Hawk" wrote:

How do I get a function to return a null value that passes the ISBLANK test?
Using "" doesn't do it.


Ron Rosenfeld

how to get a function to return a null value that passes the ISBL.
 
On Tue, 4 Mar 2008 06:43:01 -0800, Hawk wrote:

Sorry Ron, didn't see your post b4 I posted my last one. Thanks.

"Hawk" wrote:

How do I get a function to return a null value that passes the ISBLANK test?
Using "" doesn't do it.


If the suggestions I made don't help, you could use a VBA Macro do pre-process
before saving and clear everything, including the formula, from the cell.
--ron

dougcsdp

how to get a function to return a null value that passes the ISBL.
 


"Hawk" wrote:

How do I get a function to return a null value that passes the ISBLANK test?
Using "" doesn't do it.

What version are you using? Has anyone tried 2007 yet?

I discovered the same prob w Excel 2000 today. I used the "cell" function
which returned "l" for "label" instead of "b" for "blank." If I highlighted
the cell and hit delete then it's officially "blank."

I skimmed options but didn't see anything obvious.



All times are GMT +1. The time now is 03:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com