Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.docmanagement
JOHABE JOHABE is offline
external usenet poster
 
Posts: 2
Default formula field: don't display anything when value is zero (using ;"

hello, I read this under the topic "How to get a formula field to total an
entire table column, even if some cells in the column contain text or are
blank" on the MVP-site and can't get it to work. I'm interested in the final
bit, using ;""
Does anyone know how to do this?

start quotation...

Then in the total cell, press Ctrl+F9, and within the field braces {},
insert the following formula:

{ SUM(Table1 F:F) \# "#,##0.00;- #,##0.00;''" }

€śTable1€ť in the formula refers to the name of the bookmark you've marked the
main table with. The formula, being in a different table from the column it's
totalling, wouldn't know which table you were referencing otherwise. The F:F
bit means the 6th column from the left.

The bit at the end of the formula:

;''"

.... means that if there are no values in column F, don't display anything
(otherwise it would display 0.00). I learnt that trick from Word MVP Cindy
Meister.

....end quotation

--
A professional template builder
  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default formula field: don't display anything when value is zero (using ;"

You probably confused ;''" at the end (semi-colon, two single quotation
marks, double quotation mark) with ;"" (semi-colon, two double quotation
marks).

--
Stefan Blom
Microsoft Word MVP



"JOHABE" wrote in message
...
hello, I read this under the topic "How to get a formula field to total an
entire table column, even if some cells in the column contain text or are
blank" on the MVP-site and can't get it to work. I'm interested in the
final
bit, using ;""
Does anyone know how to do this?

start quotation...

Then in the total cell, press Ctrl+F9, and within the field braces {},
insert the following formula:

{ SUM(Table1 F:F) \# "#,##0.00;- #,##0.00;''" }

"Table1" in the formula refers to the name of the bookmark you've marked
the
main table with. The formula, being in a different table from the column
it's
totalling, wouldn't know which table you were referencing otherwise. The
F:F
bit means the 6th column from the left.

The bit at the end of the formula:

;''"

... means that if there are no values in column F, don't display anything
(otherwise it would display 0.00). I learnt that trick from Word MVP Cindy
Meister.

...end quotation

--
A professional template builder



  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default formula field: don't display anything when value is zero (using ;"

If you are *working in the table*, the following will work

{ =SUM(F:F) \# ",0.00;-,0.00;"}

If you are *working outside the table*, display the formatting by clicking
the ¶ button
At the end of each row of the table (outside the table) there is a cell end
character. Put the cursor between one of these characters and the table (it
doesn't matter which) and insert a bookmark - Table1

The following will then work

{ =SUM(Table1 F:F) \# ",0.00;-,0.00;"}


--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



"JOHABE" wrote in message
...
hello, I read this under the topic "How to get a formula field to total an
entire table column, even if some cells in the column contain text or are
blank" on the MVP-site and can't get it to work. I'm interested in the
final
bit, using ;""
Does anyone know how to do this?

start quotation...

Then in the total cell, press Ctrl+F9, and within the field braces {},
insert the following formula:

{ SUM(Table1 F:F) \# "#,##0.00;- #,##0.00;''" }

"Table1" in the formula refers to the name of the bookmark you've marked
the
main table with. The formula, being in a different table from the column
it's
totalling, wouldn't know which table you were referencing otherwise. The
F:F
bit means the 6th column from the left.

The bit at the end of the formula:

;''"

... means that if there are no values in column F, don't display anything
(otherwise it would display 0.00). I learnt that trick from Word MVP Cindy
Meister.

...end quotation

--
A professional template builder



  #4   Report Post  
Posted to microsoft.public.word.docmanagement
JOHABE JOHABE is offline
external usenet poster
 
Posts: 2
Default formula field: don't display anything when value is zero (usin

Thanks!
I got it working now, you were right about my confusion...
is this a hidden option of the \# option?
Do u know of a site/article that discusses in-depth word-formulas?
Would be interested in that.
--
A professional template builder


"Stefan Blom" wrote:

You probably confused ;''" at the end (semi-colon, two single quotation
marks, double quotation mark) with ;"" (semi-colon, two double quotation
marks).

--
Stefan Blom
Microsoft Word MVP



"JOHABE" wrote in message
...
hello, I read this under the topic "How to get a formula field to total an
entire table column, even if some cells in the column contain text or are
blank" on the MVP-site and can't get it to work. I'm interested in the
final
bit, using ;""
Does anyone know how to do this?

start quotation...

Then in the total cell, press Ctrl+F9, and within the field braces {},
insert the following formula:

{ SUM(Table1 F:F) \# "#,##0.00;- #,##0.00;''" }

"Table1" in the formula refers to the name of the bookmark you've marked
the
main table with. The formula, being in a different table from the column
it's
totalling, wouldn't know which table you were referencing otherwise. The
F:F
bit means the 6th column from the left.

The bit at the end of the formula:

;''"

... means that if there are no values in column F, don't display anything
(otherwise it would display 0.00). I learnt that trick from Word MVP Cindy
Meister.

...end quotation

--
A professional template builder



.

  #5   Report Post  
Posted to microsoft.public.word.docmanagement
macropod[_2_] macropod[_2_] is offline
external usenet poster
 
Posts: 2,059
Default formula field: don't display anything when value is zero (usin

Hi JOHABE,

For an in-depth discussion of field calculations in Word, check out my Word Field Maths Tutorial, at:
http://lounge.windowssecrets.com/ind...owtopic=365442
or
http://www.gmayor.com/downloads.htm#Third_party

After you've digested that, you might also want to check out my Word Date Calculation Tutorial, at:
http://lounge.windowssecrets.com/ind...owtopic=249902
or
http://www.gmayor.com/downloads.htm#Third_party

Do read both documents' introductory material.


--
Cheers
macropod
[Microsoft MVP - Word]


"JOHABE" wrote in message ...
Thanks!
I got it working now, you were right about my confusion...
is this a hidden option of the \# option?
Do u know of a site/article that discusses in-depth word-formulas?
Would be interested in that.
--
A professional template builder


"Stefan Blom" wrote:

You probably confused ;''" at the end (semi-colon, two single quotation
marks, double quotation mark) with ;"" (semi-colon, two double quotation
marks).

--
Stefan Blom
Microsoft Word MVP



"JOHABE" wrote in message
...
hello, I read this under the topic "How to get a formula field to total an
entire table column, even if some cells in the column contain text or are
blank" on the MVP-site and can't get it to work. I'm interested in the
final
bit, using ;""
Does anyone know how to do this?

start quotation...

Then in the total cell, press Ctrl+F9, and within the field braces {},
insert the following formula:

{ SUM(Table1 F:F) \# "#,##0.00;- #,##0.00;''" }

"Table1" in the formula refers to the name of the bookmark you've marked
the
main table with. The formula, being in a different table from the column
it's
totalling, wouldn't know which table you were referencing otherwise. The
F:F
bit means the 6th column from the left.

The bit at the end of the formula:

;''"

... means that if there are no values in column F, don't display anything
(otherwise it would display 0.00). I learnt that trick from Word MVP Cindy
Meister.

...end quotation

--
A professional template builder



.



  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Stefan Blom[_3_] Stefan Blom[_3_] is offline
external usenet poster
 
Posts: 6,897
Default formula field: don't display anything when value is zero (usin

For more on the "numeric picture" switch, see this article:

Numeric Picture (\#) field switch
http://office.microsoft.com/en-us/wo...CH061047321033

--
Stefan Blom
Microsoft Word MVP



"JOHABE" wrote in message
...
Thanks!
I got it working now, you were right about my confusion...
is this a hidden option of the \# option?
Do u know of a site/article that discusses in-depth word-formulas?
Would be interested in that.
--
A professional template builder


"Stefan Blom" wrote:

You probably confused ;''" at the end (semi-colon, two single quotation
marks, double quotation mark) with ;"" (semi-colon, two double quotation
marks).

--
Stefan Blom
Microsoft Word MVP



"JOHABE" wrote in message
...
hello, I read this under the topic "How to get a formula field to total
an
entire table column, even if some cells in the column contain text or
are
blank" on the MVP-site and can't get it to work. I'm interested in the
final
bit, using ;""
Does anyone know how to do this?

start quotation...

Then in the total cell, press Ctrl+F9, and within the field braces {},
insert the following formula:

{ SUM(Table1 F:F) \# "#,##0.00;- #,##0.00;''" }

"Table1" in the formula refers to the name of the bookmark you've
marked
the
main table with. The formula, being in a different table from the
column
it's
totalling, wouldn't know which table you were referencing otherwise.
The
F:F
bit means the 6th column from the left.

The bit at the end of the formula:

;''"

... means that if there are no values in column F, don't display
anything
(otherwise it would display 0.00). I learnt that trick from Word MVP
Cindy
Meister.

...end quotation

--
A professional template builder



.



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
Header formula to display current "Heading 1" at the top of each page Scott Lolmaugh Formatting Long Documents 2 April 18th 08 12:13 AM
How do I display a formula with numbers to the power of? Ben Microsoft Word Help 1 February 12th 07 08:23 PM
Merge field delimiter in insert field formula ? AlexT Mailmerge 3 November 24th 05 12:25 PM
Display a math formula? reddon30 Microsoft Word Help 2 June 18th 05 05:10 PM
Using IF Formula in Header to display a specific Heading Maximus Page Layout 0 March 3rd 05 06:17 PM


All times are GMT +1. The time now is 06:04 AM.

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

About Us

"It's about Microsoft Word"