Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 
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 08:29 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"