Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default 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.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,355
Default 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.

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,440
Default 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.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default 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
  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default 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.



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8
Default 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.

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,651
Default 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
  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3
Default 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.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compare Value in Cell 1 to a List, Return Value if Match otherwise Return Null Ben Excel Discussion (Misc queries) 2 March 15th 07 01:02 AM
Have DGET return Null instead of #Value! matthoffman33 Excel Worksheet Functions 3 May 6th 06 02:21 AM
Can a function return a Null (blank ) value? Maybe a custom functi colin_e Excel Worksheet Functions 2 March 16th 06 02:36 PM
Cell to return null instead of 0 dford Excel Discussion (Misc queries) 7 November 28th 05 06:37 PM
return a " " for null values David# Excel Worksheet Functions 2 January 21st 05 06:47 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"