Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
KRK KRK is offline
external usenet poster
 
Posts: 91
Default setting a cell to 'empty' or blank or null ?

Hello,

I have a cell which ontains an IF function. I want the cell to remain empty
unless the IF returns a certain value. I know how to use IF, but how do I
make a cell 'empty' ?

Thanks

K

  #2   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,501
Default setting a cell to 'empty' or blank or null ?

I'm not sure I fully understand but does this point you in the correct
direction?

=IF(A1=1,"",A1)

This will return the contents of A1 if it doesn't equal 1 but the cell isn't
empty, it contains a Null string

Mike

"KRK" wrote:

Hello,

I have a cell which ontains an IF function. I want the cell to remain empty
unless the IF returns a certain value. I know how to use IF, but how do I
make a cell 'empty' ?

Thanks

K


  #3   Report Post  
Posted to microsoft.public.excel.newusers
KRK KRK is offline
external usenet poster
 
Posts: 91
Default setting a cell to 'empty' or blank or null ? - ---- thanks

Hello

Thanks yes this works, is the null string the same as blank and empty ?

K


"Mike H" wrote in message
...
I'm not sure I fully understand but does this point you in the correct
direction?

=IF(A1=1,"",A1)

This will return the contents of A1 if it doesn't equal 1 but the cell
isn't
empty, it contains a Null string

Mike

"KRK" wrote:

Hello,

I have a cell which ontains an IF function. I want the cell to remain
empty
unless the IF returns a certain value. I know how to use IF, but how do I
make a cell 'empty' ?

Thanks

K



  #4   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 11,501
Default setting a cell to 'empty' or blank or null ? - ---- tha

I'm glad that helped, thanks for the feedback.

Empty is just that when referring to a cell i.e it contains nothing,

A formula that returns nothing as in the example I gave you by definition
isn't empty and correctly is referred to a Null string i.e a string that has
no length.

Blank is a term i prefer not to use for cells because FWIW in my view it
adds nothing to either of the definitions noted above and frequently leads to
confusion.


Mike

"KRK" wrote:

Hello

Thanks yes this works, is the null string the same as blank and empty ?

K


"Mike H" wrote in message
...
I'm not sure I fully understand but does this point you in the correct
direction?

=IF(A1=1,"",A1)

This will return the contents of A1 if it doesn't equal 1 but the cell
isn't
empty, it contains a Null string

Mike

"KRK" wrote:

Hello,

I have a cell which ontains an IF function. I want the cell to remain
empty
unless the IF returns a certain value. I know how to use IF, but how do I
make a cell 'empty' ?

Thanks

K




  #5   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 15,768
Default setting a cell to 'empty' or blank or null ? - ---- tha

and frequently leads to confusion.

Amen, brother!


--
Biff
Microsoft Excel MVP


"Mike H" wrote in message
...
I'm glad that helped, thanks for the feedback.

Empty is just that when referring to a cell i.e it contains nothing,

A formula that returns nothing as in the example I gave you by definition
isn't empty and correctly is referred to a Null string i.e a string that
has
no length.

Blank is a term i prefer not to use for cells because FWIW in my view it
adds nothing to either of the definitions noted above and frequently leads
to
confusion.


Mike

"KRK" wrote:

Hello

Thanks yes this works, is the null string the same as blank and empty ?

K


"Mike H" wrote in message
...
I'm not sure I fully understand but does this point you in the correct
direction?

=IF(A1=1,"",A1)

This will return the contents of A1 if it doesn't equal 1 but the cell
isn't
empty, it contains a Null string

Mike

"KRK" wrote:

Hello,

I have a cell which ontains an IF function. I want the cell to remain
empty
unless the IF returns a certain value. I know how to use IF, but how
do I
make a cell 'empty' ?

Thanks

K








  #6   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default setting a cell to 'empty' or blank or null ? - ---- thanks

No.

You have a formula nin the cell so cannot be blank.

The "" just makes the cell look blank.

You can test by entering this formula in a cell next to it.

=ISBLANK(cellref) will return false.


Gord Dibben MS Excel MVP

On Mon, 5 May 2008 14:08:48 +0100, "KRK"
wrote:

Hello

Thanks yes this works, is the null string the same as blank and empty ?

K


"Mike H" wrote in message
...
I'm not sure I fully understand but does this point you in the correct
direction?

=IF(A1=1,"",A1)

This will return the contents of A1 if it doesn't equal 1 but the cell
isn't
empty, it contains a Null string

Mike

"KRK" wrote:

Hello,

I have a cell which ontains an IF function. I want the cell to remain
empty
unless the IF returns a certain value. I know how to use IF, but how do I
make a cell 'empty' ?

Thanks

K



  #7   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 3,572
Default setting a cell to 'empty' or blank or null ? - ---- thanks

I love to bring this up whenever I come across this type of discussion.

In A1 enter:
=""

In B1 enter:
=Isblank(A1)

In C1 enter:
=Countblank(A1)

Confusing ... to say the least.

We are now talking about the consistency of the Redmond programmers!<bg
--
Regards,

RD

---------------------------------------------------------------------------
Please keep all correspondence within the NewsGroup, so all may benefit !
---------------------------------------------------------------------------
"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
No.

You have a formula nin the cell so cannot be blank.

The "" just makes the cell look blank.

You can test by entering this formula in a cell next to it.

=ISBLANK(cellref) will return false.


Gord Dibben MS Excel MVP

On Mon, 5 May 2008 14:08:48 +0100, "KRK"

wrote:

Hello

Thanks yes this works, is the null string the same as blank and empty ?

K


"Mike H" wrote in message
...
I'm not sure I fully understand but does this point you in the correct
direction?

=IF(A1=1,"",A1)

This will return the contents of A1 if it doesn't equal 1 but the cell
isn't
empty, it contains a Null string

Mike

"KRK" wrote:

Hello,

I have a cell which ontains an IF function. I want the cell to remain
empty
unless the IF returns a certain value. I know how to use IF, but how do
I
make a cell 'empty' ?

Thanks

K





  #8   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 22,906
Default setting a cell to 'empty' or blank or null ? - ---- thanks

At least you are forewarned about this anomaly in help on countblank.

COUNTBLANK(range)

Range is the range from which you want to count the blank cells.

Cells with formulas that return "" (empty text) are also counted.


Gord

On Tue, 6 May 2008 15:14:23 -0700, "RagDyer" wrote:

I love to bring this up whenever I come across this type of discussion.

In A1 enter:
=""

In B1 enter:
=Isblank(A1)

In C1 enter:
=Countblank(A1)

Confusing ... to say the least.

We are now talking about the consistency of the Redmond programmers!<bg


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
I want to use a different cell if my date field is NULL/BLANK Ralph D''Andrea Excel Worksheet Functions 5 October 23rd 07 07:13 PM
If null, make cell blank Nicole L. Excel Worksheet Functions 1 September 30th 07 08:25 AM
COUNTIF says Null = Blank but Blank < Null Epinn Excel Worksheet Functions 4 October 25th 06 08:03 PM
Replace null string with blank cell gjcase Excel Discussion (Misc queries) 2 August 9th 05 02:13 PM
make cell contents equal to null value - not blank, but empty mpierre Excel Worksheet Functions 1 December 29th 04 06:57 AM


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