A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Formatting 0 values to show blank cells



 
 
Thread Tools Display Modes
  #1  
Old March 12th, 2010, 04:47 PM posted to microsoft.public.excel.misc
RLD
external usenet poster
 
Posts: 12
Default Formatting 0 values to show blank cells

I am using the =IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...)) to return a zero value.
For printing purposes I need the 0 to not show in the cell (blank cell). I
can do this by using the accounting format, but a dash (-) still shows in the
cell. The sheet is protected to protect the formula. How can I protect AND
not show anything in the cell WHILE keeping the value at "0"?
  #2  
Old March 12th, 2010, 05:11 PM posted to microsoft.public.excel.misc
Hakyab
external usenet poster
 
Posts: 9
Default Formatting 0 values to show blank cells

You can use set the custom format to

;;"";

See Worksheet and Excel table basics Formatting numbers in Excel help file
for details.



"RLD" wrote:

I am using the =IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...)) to return a zero value.
For printing purposes I need the 0 to not show in the cell (blank cell). I
can do this by using the accounting format, but a dash (-) still shows in the
cell. The sheet is protected to protect the formula. How can I protect AND
not show anything in the cell WHILE keeping the value at "0"?

  #3  
Old March 12th, 2010, 05:45 PM posted to microsoft.public.excel.misc
RLD
external usenet poster
 
Posts: 12
Default Formatting 0 values to show blank cells

I cannot use ;;""; because it returns no value. I need the value to remain
at 0 because it is part of another SUM formula.

"Hakyab" wrote:

You can use set the custom format to

;;"";

See Worksheet and Excel table basics Formatting numbers in Excel help file
for details.



"RLD" wrote:

I am using the =IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...)) to return a zero value.
For printing purposes I need the 0 to not show in the cell (blank cell). I
can do this by using the accounting format, but a dash (-) still shows in the
cell. The sheet is protected to protect the formula. How can I protect AND
not show anything in the cell WHILE keeping the value at "0"?

  #4  
Old March 12th, 2010, 06:29 PM posted to microsoft.public.excel.misc
Dave Peterson
external usenet poster
 
Posts: 19,791
Default Formatting 0 values to show blank cells

Try something like:
General;-General;;@
(Positive;Negative;Zero;Text)

If you're really using =sum(), you could return "" in your long formula:

=if(isna(vlookup()),"",vlookup())

=Sum() will ignore the text (an empty string).

But if you're doing arithmetic (like =a1+b1), this won't work.





RLD wrote:

I cannot use ;;""; because it returns no value. I need the value to remain
at 0 because it is part of another SUM formula.

"Hakyab" wrote:

You can use set the custom format to

;;"";

See Worksheet and Excel table basics Formatting numbers in Excel help file
for details.



"RLD" wrote:

I am using the =IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...)) to return a zero value.
For printing purposes I need the 0 to not show in the cell (blank cell). I
can do this by using the accounting format, but a dash (-) still shows in the
cell. The sheet is protected to protect the formula. How can I protect AND
not show anything in the cell WHILE keeping the value at "0"?


--

Dave Peterson
  #5  
Old March 12th, 2010, 06:36 PM posted to microsoft.public.excel.misc
C
external usenet poster
 
Posts: 67
Default Formatting 0 values to show blank cells

Hi RLD,

Try
Tools
Options
Under the Window Options deselect the Zero value check box.

"RLD" wrote:

I cannot use ;;""; because it returns no value. I need the value to remain
at 0 because it is part of another SUM formula.

"Hakyab" wrote:

You can use set the custom format to

;;"";

See Worksheet and Excel table basics Formatting numbers in Excel help file
for details.



"RLD" wrote:

I am using the =IF(ISNA(VLOOKUP(...)),0,VLOOKUP(...)) to return a zero value.
For printing purposes I need the 0 to not show in the cell (blank cell). I
can do this by using the accounting format, but a dash (-) still shows in the
cell. The sheet is protected to protect the formula. How can I protect AND
not show anything in the cell WHILE keeping the value at "0"?

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 02:14 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.