TechWhirl (TECHWR-L) is a resource for technical writing and technical communications professionals of all experience levels and in all industries to share their experiences and acquire information.
For two decades, technical communicators have turned to TechWhirl to ask and answer questions about the always-changing world of technical communications, such as tools, skills, career paths, methodologies, and emerging industries. The TechWhirl Archives and magazine, created for, by and about technical writers, offer a wealth of knowledge to everyone with an interest in any aspect of technical communications.
Subject:Re: Calculated field NOT print zeroes? From:Holger Gremminger <hgremminger -at- gmx -dot- de> To:"TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com> Date:Thu, 12 Jun 2003 10:55:25 +0200 (MEST)
If you have Excel-functionality (insert Excel-table into the Word-doc) you
can insert the following code in the Total field:
=IF(A3="";"";A3*A2)
where A3 is the field with the Quantity and A2 the field with the Price.
It means if A3 is empty then insert nothing, otherwise insert the value of
A3*A2.
I have not tested it inserted into Word. In Excel it works.
Maybe helps.
/Holger
> I'm working with a Word doc that has calculated fields, such as an
> invoice that has Qty, Price, and a calculated Total field.
> When the calculated field would be $0.00, how can I make this NOT print,
> in other words, leave blank rather than print $0.00 ?
>
> Dennis Wilson
> Technical Writer
> Digital Theater Systems
> (818) 735-4200 x318
> www.dtsonline.com
---
You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit http://www.raycomm.com/techwhirl/ for more resources and info.