[Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 391
  • Last Modified:

How do I add formula to attached Adobe Acrobat document?

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
mcginniskj
Asked:
mcginniskj
  • 2
  • 2
1 Solution
 
captainCommented:
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
 
mcginniskjAuthor Commented:
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
 
captainCommented:
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
 
mcginniskjAuthor Commented:
Thank you
0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now