Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
RLD RLD is offline
external usenet poster
 
Posts: 11
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
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   Report Post  
Posted to microsoft.public.excel.misc
RLD RLD is offline
external usenet poster
 
Posts: 11
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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
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   Report Post  
Posted to microsoft.public.excel.misc
C C is offline
external usenet poster
 
Posts: 61
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"?

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
IF formula returns blank cells--only want values to show Wilma Excel Worksheet Functions 3 July 14th 09 04:02 PM
one column of cells show ####. Values show when I open it. Help grantljg Excel Discussion (Misc queries) 3 September 18th 07 09:19 PM
Zero values to show blank Louise Excel Worksheet Functions 9 May 4th 07 07:48 AM
show $ in blank cells Nancy Excel Discussion (Misc queries) 3 August 16th 06 02:45 AM
zero values in charts-don't want to show as zero, but as blank ML Excel Discussion (Misc queries) 3 August 2nd 05 10:51 PM


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

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

About Us

"It's about Microsoft Excel"