Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 471
Default Empty Cell Result

In this if statement: IF(A1=100,1,"") I would like the 3rd parameter to not
return "", not return 0 but return NOTHING. Is there a way to return empty,
blank, etc?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 180
Default Empty Cell Result

Check the Cell type of the cell you are entering formula, it should be
general and not number.
--
Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!


"Mike H." wrote:

In this if statement: IF(A1=100,1,"") I would like the 3rd parameter to not
return "", not return 0 but return NOTHING. Is there a way to return empty,
blank, etc?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default Empty Cell Result

No. Formulae always return values to their calling cells.

You could replace the formulas with an Event Macro.

Or there may be alternatives, depending on what you're using the results
for.


In article ,
Mike H. wrote:

In this if statement: IF(A1=100,1,"") I would like the 3rd parameter to not
return "", not return 0 but return NOTHING. Is there a way to return empty,
blank, etc?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default Empty Cell Result

No.
--
David Biddulph

"Mike H." wrote in message
...
In this if statement: IF(A1=100,1,"") I would like the 3rd parameter to
not
return "", not return 0 but return NOTHING. Is there a way to return
empty,
blank, etc?



  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 180
Default Empty Cell Result

That;s right..but then how about changing the cell type to Custom and then
setting it to #, by this even if there is a zero, it will not be displayed.

I agree this will work only for display purpose, which what I think Mike
wants.
--
Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!


"JE McGimpsey" wrote:

No. Formulae always return values to their calling cells.

You could replace the formulas with an Event Macro.

Or there may be alternatives, depending on what you're using the results
for.


In article ,
Mike H. wrote:

In this if statement: IF(A1=100,1,"") I would like the 3rd parameter to not
return "", not return 0 but return NOTHING. Is there a way to return empty,
blank, etc?




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,268
Default Empty Cell Result

Why do you think Mike wants that since he says?

"I would like the 3rd parameter to not return "", not return 0 but return
NOTHING. Is there a way to return empty, blank, etc?"

To me it sounds as though he wants a truly empty cell which cannot be done
through a formula since the cell holds the formula


--


Regards,


Peo Sjoblom




"Pranav Vaidya" wrote in message
...
That;s right..but then how about changing the cell type to Custom and then
setting it to #, by this even if there is a zero, it will not be
displayed.

I agree this will work only for display purpose, which what I think Mike
wants.
--
Pranav Vaidya
VBA Developer
PN, MH-India
If you think my answer is useful, please rate this post as an ANSWER!!


"JE McGimpsey" wrote:

No. Formulae always return values to their calling cells.

You could replace the formulas with an Event Macro.

Or there may be alternatives, depending on what you're using the results
for.


In article ,
Mike H. wrote:

In this if statement: IF(A1=100,1,"") I would like the 3rd parameter
to not
return "", not return 0 but return NOTHING. Is there a way to return
empty,
blank, etc?




  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default Empty Cell Result

Mike

You cannot create an empty/NOTHING cell if it has a formula in it.

"" makes the cell look blank only


Gord Dibben MS Excel MVP

"Mike H." wrote:

In this if statement: IF(A1=100,1,"") I would like the 3rd parameter to not
return "", not return 0 but return NOTHING. Is there a way to return empty,
blank, etc?


  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default Empty Cell Result

I thank all who have contributed. It sounds like what I'm asking for is a
change, so I would propose a new function NULL() which returns nothing. Thus
my formula now becomes

=If(isblank(a1),null(),a1)

I've seen this in other languages, so should not be hard to implement.

The reason I want nothing there is I want alpha strings that exceed the size
of the cell to the left to be able to encroach into the cell (if it is truly
blank).

Charles
--
Charles


"David Biddulph" wrote:

No.
--
David Biddulph

"Mike H." wrote in message
...
In this if statement: IF(A1=100,1,"") I would like the 3rd parameter to
not
return "", not return 0 but return NOTHING. Is there a way to return
empty,
blank, etc?




  #9   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Empty Cell Result

And here we are a year or so later and I looked at this subject and found it
didn't solve my problem in a Golf Draw program I am designing so I came up
with the very simple idea of referring to an empty cell thus:

=IF(ISBLANK('4BallEntries'!A13),$I$1,('4BallEntrie s'!A13))

in my case a reference to a cell in another worksheet ('4BallEntries'!A13)
which if empty I want the subject cell to be empty so I made reference to an
empty cell, namely I1, and it works perfectly.
--
Grimwadec


"MidlandC" wrote:

I thank all who have contributed. It sounds like what I'm asking for is a
change, so I would propose a new function NULL() which returns nothing. Thus
my formula now becomes

=If(isblank(a1),null(),a1)

I've seen this in other languages, so should not be hard to implement.

The reason I want nothing there is I want alpha strings that exceed the size
of the cell to the left to be able to encroach into the cell (if it is truly
blank).

Charles
--
Charles


"David Biddulph" wrote:

No.
--
David Biddulph

"Mike H." wrote in message
...
In this if statement: IF(A1=100,1,"") I would like the 3rd parameter to
not
return "", not return 0 but return NOTHING. Is there a way to return
empty,
blank, etc?




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
Formula result as real empty/blank cell Excelerate-nl Excel Worksheet Functions 4 August 20th 06 06:52 AM
Advanced formula - Return result & Show Cell Reference of result Irv Excel Worksheet Functions 7 May 6th 06 03:36 AM
why a reference to an empty cell is not considered empty Nicoscot Excel Discussion (Misc queries) 10 March 10th 06 05:36 AM
When I SUM cells & 1 is empty I need the result to be empty not 0 Maribel Excel Discussion (Misc queries) 1 August 2nd 05 12:49 AM
is statement with an empty cell as result RDM Excel Worksheet Functions 4 March 2nd 05 04:18 PM


All times are GMT +1. The time now is 09:51 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"