#1   Report Post  
Posted to microsoft.public.word.tables
Carol Carol is offline
external usenet poster
 
Posts: 82
Default Formulas

How do i hide a zero balance in word.
  #2   Report Post  
Posted to microsoft.public.word.tables
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Formulas

Use a numeric picture switch to specify different formats for positive,
negative, and zero results. The following simple example with a formula
field:

{ = 35 \# "00.00;(00.00);" }

would display 35.00 (since 35 is positive). A negative result would display
in parentheses, and a zero result would not display at all.

--
Stefan Blom
Microsoft Word MVP



"carol" wrote in message
news
How do i hide a zero balance in word.



  #3   Report Post  
Posted to microsoft.public.word.tables
Carol Carol is offline
external usenet poster
 
Posts: 82
Default Formulas

Hi

Thanks very much, however it is still not working correctly. In my formula i
have the following caluculation =d6*1.175-d6. (This is calculating the VAT
on D6 then subtracting the amount, leaving just the VAT amount) .

Where would i insert the numeric picture switch?

Thanks

"Stefan Blom" wrote:

Use a numeric picture switch to specify different formats for positive,
negative, and zero results. The following simple example with a formula
field:

{ = 35 \# "00.00;(00.00);" }

would display 35.00 (since 35 is positive). A negative result would display
in parentheses, and a zero result would not display at all.

--
Stefan Blom
Microsoft Word MVP



"carol" wrote in message
news
How do i hide a zero balance in word.




  #4   Report Post  
Posted to microsoft.public.word.tables
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Formulas

Edit the formula directly in the document: Press Alt+F9 to see the field
code. You'll see something like this: { = D6*1.175-D6 }. At the end of the
field code, just add \# "0.00;0.00;" (assuming 0.00 is the format you want
for positive and negative results). Press Alt+F9 to hide field codes. Press
F9 to update the field.

--
Stefan Blom
Microsoft Word MVP



"carol" wrote in message
...
Hi

Thanks very much, however it is still not working correctly. In my formula
i
have the following caluculation =d6*1.175-d6. (This is calculating the
VAT
on D6 then subtracting the amount, leaving just the VAT amount) .

Where would i insert the numeric picture switch?

Thanks

"Stefan Blom" wrote:

Use a numeric picture switch to specify different formats for positive,
negative, and zero results. The following simple example with a formula
field:

{ = 35 \# "00.00;(00.00);" }

would display 35.00 (since 35 is positive). A negative result would
display
in parentheses, and a zero result would not display at all.

--
Stefan Blom
Microsoft Word MVP



"carol" wrote in message
news
How do i hide a zero balance in word.






  #5   Report Post  
Posted to microsoft.public.word.tables
Carol Carol is offline
external usenet poster
 
Posts: 82
Default Formulas

Fantastic. It works great!! Thank you very much.

"Stefan Blom" wrote:

Edit the formula directly in the document: Press Alt+F9 to see the field
code. You'll see something like this: { = D6*1.175-D6 }. At the end of the
field code, just add \# "0.00;0.00;" (assuming 0.00 is the format you want
for positive and negative results). Press Alt+F9 to hide field codes. Press
F9 to update the field.

--
Stefan Blom
Microsoft Word MVP



"carol" wrote in message
...
Hi

Thanks very much, however it is still not working correctly. In my formula
i
have the following caluculation =d6*1.175-d6. (This is calculating the
VAT
on D6 then subtracting the amount, leaving just the VAT amount) .

Where would i insert the numeric picture switch?

Thanks

"Stefan Blom" wrote:

Use a numeric picture switch to specify different formats for positive,
negative, and zero results. The following simple example with a formula
field:

{ = 35 \# "00.00;(00.00);" }

would display 35.00 (since 35 is positive). A negative result would
display
in parentheses, and a zero result would not display at all.

--
Stefan Blom
Microsoft Word MVP



"carol" wrote in message
news How do i hide a zero balance in word.








  #6   Report Post  
Posted to microsoft.public.word.tables
Stefan Blom Stefan Blom is offline
external usenet poster
 
Posts: 8,428
Default Formulas

You are welcome.

--
Stefan Blom
Microsoft Word MVP



"carol" wrote in message
...
Fantastic. It works great!! Thank you very much.

"Stefan Blom" wrote:

Edit the formula directly in the document: Press Alt+F9 to see the field
code. You'll see something like this: { = D6*1.175-D6 }. At the end of
the
field code, just add \# "0.00;0.00;" (assuming 0.00 is the format you
want
for positive and negative results). Press Alt+F9 to hide field codes.
Press
F9 to update the field.

--
Stefan Blom
Microsoft Word MVP



"carol" wrote in message
...
Hi

Thanks very much, however it is still not working correctly. In my
formula
i
have the following caluculation =d6*1.175-d6. (This is calculating the
VAT
on D6 then subtracting the amount, leaving just the VAT amount) .

Where would i insert the numeric picture switch?

Thanks

"Stefan Blom" wrote:

Use a numeric picture switch to specify different formats for
positive,
negative, and zero results. The following simple example with a
formula
field:

{ = 35 \# "00.00;(00.00);" }

would display 35.00 (since 35 is positive). A negative result would
display
in parentheses, and a zero result would not display at all.

--
Stefan Blom
Microsoft Word MVP



"carol" wrote in message
news How do i hide a zero balance in word.








Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
formulas tony Microsoft Word Help 2 April 1st 08 10:45 PM
inserting formulas ronduke Tables 1 March 7th 08 04:41 AM
Using Formulas in a Table TJ Tables 4 August 29th 07 11:00 PM
Formulas? cbremar Mailmerge 3 June 13th 07 07:59 AM
Formulas in a Table corkman New Users 1 September 8th 05 01:27 AM


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

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"