#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,069
Default Cell Format

Dear all,

How can I format a cell when the cell value is zero,display it as space

Thanks you
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 923
Default Cell Format

Try using conditional formatting by setting the font color to the background
color?

--
Cheers
Nigel



"John" wrote in message
...
Dear all,

How can I format a cell when the cell value is zero,display it as space

Thanks you



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 58
Default Cell Format

Do you mean show it as as empty, or blank when it's zero?

You can use a custom number format (Format Cells|Number|Custom) and
enter the following:

0.00;-0.00;

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

John wrote:
Dear all,

How can I format a cell when the cell value is zero,display it as space

Thanks you

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Cell Format

Not a reply, but another question.

How would I format a cell to be blank. Say I have a formula such as

=IF(OR(B27="",B25=""),"",B25/B27)

Which would give a percentage of one evalue to another.

If I graph these values, the graph displays it as zero value instead of null
or an empty set. I do not want to convey that they had 0% for the result.

Thanks


"Ken Puls" wrote in message
...
Do you mean show it as as empty, or blank when it's zero?

You can use a custom number format (Format Cells|Number|Custom) and enter
the following:

0.00;-0.00;

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

John wrote:
Dear all,

How can I format a cell when the cell value is zero,display it as space

Thanks you




  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Cell Format

=IF(OR(B27="",B25=""),NA(),B25/B27)

Cells with #N/A with not be charted.

If you don't like the #N/A showing use Conditional Formating to change the font
to white.


Gord Dibben MS Excel MVP

On Tue, 02 Jan 2007 21:53:57 GMT, "taju" wrote:

Not a reply, but another question.

How would I format a cell to be blank. Say I have a formula such as

=IF(OR(B27="",B25=""),"",B25/B27)

Which would give a percentage of one evalue to another.

If I graph these values, the graph displays it as zero value instead of null
or an empty set. I do not want to convey that they had 0% for the result.

Thanks


"Ken Puls" wrote in message
...
Do you mean show it as as empty, or blank when it's zero?

You can use a custom number format (Format Cells|Number|Custom) and enter
the following:

0.00;-0.00;

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

John wrote:
Dear all,

How can I format a cell when the cell value is zero,display it as space

Thanks you






  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Cell Format

Thank you for your help. It works very well.

"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
=IF(OR(B27="",B25=""),NA(),B25/B27)

Cells with #N/A with not be charted.

If you don't like the #N/A showing use Conditional Formating to change the
font
to white.


Gord Dibben MS Excel MVP

On Tue, 02 Jan 2007 21:53:57 GMT, "taju" wrote:

Not a reply, but another question.

How would I format a cell to be blank. Say I have a formula such as

=IF(OR(B27="",B25=""),"",B25/B27)

Which would give a percentage of one evalue to another.

If I graph these values, the graph displays it as zero value instead of
null
or an empty set. I do not want to convey that they had 0% for the result.

Thanks


"Ken Puls" wrote in message
...
Do you mean show it as as empty, or blank when it's zero?

You can use a custom number format (Format Cells|Number|Custom) and
enter
the following:

0.00;-0.00;

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

John wrote:
Dear all,

How can I format a cell when the cell value is zero,display it as
space

Thanks you





  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Cell Format

Thank you for your help. It works well.

taju


"Gord Dibben" <gorddibbATshawDOTca wrote in message
...
=IF(OR(B27="",B25=""),NA(),B25/B27)

Cells with #N/A with not be charted.

If you don't like the #N/A showing use Conditional Formating to change the
font
to white.


Gord Dibben MS Excel MVP

On Tue, 02 Jan 2007 21:53:57 GMT, "taju" wrote:

Not a reply, but another question.

How would I format a cell to be blank. Say I have a formula such as

=IF(OR(B27="",B25=""),"",B25/B27)

Which would give a percentage of one evalue to another.

If I graph these values, the graph displays it as zero value instead of
null
or an empty set. I do not want to convey that they had 0% for the result.

Thanks


"Ken Puls" wrote in message
...
Do you mean show it as as empty, or blank when it's zero?

You can use a custom number format (Format Cells|Number|Custom) and
enter
the following:

0.00;-0.00;

HTH,

Ken Puls, CMA - Microsoft MVP (Excel)
www.excelguru.ca

John wrote:
Dear all,

How can I format a cell when the cell value is zero,display it as
space

Thanks you





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
Lock Cell Format - Allow copy and paste of data without format change Chris12InKC Excel Worksheet Functions 2 May 9th 23 07:42 PM
cell format - remove cell format pattern without effecting colors Bas Excel Discussion (Misc queries) 1 March 23rd 09 02:54 PM
Can cell format come from and change with reference cell format jclouse Excel Discussion (Misc queries) 1 November 29th 06 03:20 AM
Excel Auto-Format cell to email format Please Help Me Excel Discussion (Misc queries) 1 March 23rd 06 05:15 PM
How do I copy data in single cell format to a merged cell format Paul Excel Discussion (Misc queries) 1 June 27th 05 11:00 AM


All times are GMT +1. The time now is 05:49 AM.

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"