![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
New Member
Join Date: May 2002
Location: Newark NJ USA
Posts: 11
|
I have the following formulas in an Excel worksheet: =D10-G10, and ='Payments Held'!F10. The cells are formatted for Currency. When there are no values is the cells related to the formula (D10 & G10, for instance), the cell displays a value of $0.00. For appearance sake, I would like the cell to be blank instead of $0.00. How can I accomplish this? Thanks.
|
|
|
|
|
|
#2 |
|
Board Regular
Join Date: Feb 2002
Location: Where the wild roses grow
Posts: 285
|
Hi there,
You could set the font colour to white and conditionally format the cells to turn black if their value is more than 0.000000001 Audiojoe |
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Sydney, Australia
Posts: 2,908
|
Try this:-
=IF('Payments Held'!F10=0,"",'Payments Held'!F10) HTH, Dan |
|
|
|
|
|
#4 |
|
Board Regular
Join Date: Apr 2002
Location: iceland
Posts: 138
|
sELECT ALL YOUR cells, goto Format->conditional formatting.
condition1-> cell value is->equalto->$0,00 then select format->pattern and select black push okey. BK Stulli |
|
|
|
|
|
#5 |
|
Board Regular
Join Date: Apr 2002
Location: Wivenhoe, England
Posts: 877
|
Why not us Tools, Options, select View tab and uncheck zero values?
I use the following macro attached to a toolbar button to toggle the zero values: Sub ZeroValues() ActiveWindow.DisplayZeros = Not ActiveWindow.DisplayZeros End Sub [ This Message was edited by: inarbeth on 2002-05-14 06:11 ] |
|
|
|
|
|
#6 |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
Custom format the formula cell as:
[=0]"" Aladin |
|
|
|
|
|
#7 |
|
Board Regular
Join Date: May 2002
Location: Tennessee, USA
Posts: 72
|
Would it be acceptable to use the Accounting format (without the $) in this cell instead of the Currency format? This way you would only have a "-" instead of "$0.00".
|
|
|
|
|
|
#8 |
|
New Member
Join Date: May 2002
Location: Newark NJ USA
Posts: 11
|
I would like to thank everyone for your replies. I found stone's suggestion to be the easiest to implement. However, I will also experiment with dk's & inarbeth's suggestions. I think Aladin Akyurek's suggestion is similiar to stone's.
|
|
|
|
|
|
#9 |
|
New Member
Join Date: Feb 2002
Location: Tampa, Fla
Posts: 44
|
You may try selecting the $0.00 cell
Go to Tools>Options>view and click OFF the zero values. that will leave the cell blank. |
|
|
|
|
|
#10 |
|
MrExcel MVP
Join Date: Feb 2002
Location: The Hague
Posts: 50,319
|
I think Aladin Akyurek's suggestion is similiar to stone's.
I think that's about right in effect. Custom formatting can be less resource demanding and also faster in processing time. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|