Solved

How do I add formula to attached Adobe Acrobat document?

Posted on 2011-09-14
4
380 Views
Last Modified: 2012-05-12
I would like to know if it is possible to add a formula to the attached file.
I want to be able to type in the actual load measured in the actual load column and the load variation % would be calculated. Please help.

Thanks in advance.
KM
1360---1361-JAR-TESTER-CALIBRATI.pdf
0
Comment
Question by:mcginniskj
  • 2
  • 2
4 Comments
 
LVL 30

Expert Comment

by:captain
Comment Utility
Hi

I am not a java script developer, but as this is a division you need JS to avoid dividing by zero. Have a look at this:
http://forums.adobe.com/thread/825757?decorator=print&displayFullThread=true

I assume that you want to divide the actual load by the console pressure or the difference of the actual load and console pressure by the console pressure. Either way you need to tell Acrobat about the console pressure so it can be used for calculation. For that you should put all console pressure variables into fields and make these 'Read only'. That way they cannot be edited but you can reference these for your calculation. At the moment Acrobat has these only as background text which you cannot use in a calculation.

Once you have got your formula right you then need to change the format to 'Percentage' and you should be done.

I would also recommend simplifying your field names as they are complex and you may end up with errors because of typos when you change your script. If you need to calculate the difference between console pressure  and actual load and then use the result as a dividend then you may find it easier using a field to calculate that difference first (fieldname1-fieldname2, for examle console1-actual1) and set the attribute to 'Hidden' so it is not visible but can be used for calculation.

The difference calculation formula goes into the simple annotation option.

hth
capt.
0
 

Author Comment

by:mcginniskj
Comment Utility
I need the difference of the console pressure and actual load divided by the actual load and this would give the load variance %. Do I need to add another column to show the load variance?
0
 
LVL 30

Accepted Solution

by:
captain earned 500 total points
Comment Utility
That's what I meant with adding a filed for each variance and making this hidden.

The field should contain the formula for calculating the difference (console1-actual1) and be named for instance variance1.

You will then reference the fields variance1 & actual1 in the script provided in the link.

hth
capt.
0
 

Author Closing Comment

by:mcginniskj
Comment Utility
Thank you
0

Featured Post

A Knowledge Base That Stays Up-to-Date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
font missing in acrobat 3 63
Windows 10 Default PDF App Roaming Profiles 1 66
RTF vs DOC 17 87
Adobe Reader Viewing Issue 1 14
This article focuses on how to remove password security from multiple PDF files by Adobe Acrobat program. Sometimes it is essential to access the stored data items and to print, edit as well as copy content from Portable Document Format files in abs…
When the confidentiality and security of your data is a must, trust the highly encrypted cloud fax portfolio used by 12 million businesses worldwide, including nearly half of the Fortune 500.
In this third video of the Xpdf series, we discuss and demonstrate the PDFtoText utility, which converts PDF files into plain text files. Download and install the software.: You may have already downloaded and installed the Xpdf tools while watching…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now