How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask J Tech Your Own Question

J Tech
J Tech, Computer Support
Category: Microsoft Office
Satisfied Customers: 991
Experience:  Owner of X XXXX Computer Repair
Type Your Microsoft Office Question Here...
J Tech is online now
A new question is answered every 9 seconds

PDF spreadsheet which can calculate like Excel

Customer Question

I need to create a functioning PDF spread sheet that replicates the function of an Excel version that I have available to anyone that can help, there are 2 input fields & 13 cells with relatively simple calculations here are 2 examples are =SUM(E10:E17)*E21 and =((B10-C10)/80000)*B5*B4


Does anyone know how to do this? Thanks Jon

Submitted: 2 years ago.
Category: Microsoft Office
Expert:  J Tech replied 2 years ago.
Hello, first of all you would need to be using a professional version of the acrobat software or similar where you could edit the file. What you need to do is set up a calculated field. You do this by adding JavaScript code to the field's Calculate event. Exactly how you do this depends on which version of Acrobat you're using, but the code might look something like:

(function() {

// Get the field values, as numbers
var v1 = +getField("box1").value;
var v2 = +getField("box2").value;
var v3 = +getField("box3").value;

// Perform the calculation
var result = 0.9 * (v1 * 32.9 + v2 * 67 + v3 * 75.8);

// Set the value of this field to the result
event.value = result;

You would replace "box1", "box2", and "box3" above with the actual names of the fields you're using. Also, make the calculated field read-only.
Customer: replied 2 years ago.

Hi, I have Acrobat X Pro, but no experience of Java or setting up Forms in Acrobat. Ideally I'd like to send the excel sheet & get a functioning PDF sent back, would this be possible?




Expert:  J Tech replied 2 years ago.
I have heard you can do this with Adobe Livecycle ES2 but I have not used this program other than that there is no way to retain the Excel formulas when converting to PDF. While it would be possible to create a PDF form that duplicates the functionality you would have to use the javascript.

Customer: replied 2 years ago.

Would you be able to create a PDF form for me? I could send you the spreadsheet first so you can check if you think you can do it.


Expert:  J Tech replied 2 years ago.
I am not allowed to communicate with you other then through this chat.

There is a video here that may help you understand this in an easy way. You might not even need to use the java if you could use the built in mathematic functions in acrobat x.

JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
< Previous | Next >
  • My Expert answered my question promptly and he resolved the issue totally. This is a great service. I am so glad I found it I will definitely use the service again if needed. One Happy Customer New York
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland

Meet The Experts:

  • jstinehelfer


    Information Systems Manager

    Satisfied Customers:

    A+ Comptia Certified computer repair
< Last | Next >
  • jstinehelfer's Avatar


    Information Systems Manager

    Satisfied Customers:

    A+ Comptia Certified computer repair
  • JasonJames122's Avatar


    Computer Enthusiast

    Satisfied Customers:

    I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
  • Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    Computer Software Specialist for more than 10 years
  • The-PC-Guy's Avatar


    Computer Manager

    Satisfied Customers:

    20 years experience providing remote computer support
  • Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    Certified Expert with over 10 years experience.
  • Steve Herrod's Avatar

    Steve Herrod

    Computer Support Specialist

    Satisfied Customers:

    Trained in Microsoft Office from 2000 through to latest version 2010.
  • IT Miro's Avatar

    IT Miro

    Computer Scientist

    Satisfied Customers:

    Bachelor's Degree in Information Technology, Microsoft Certified Professional