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
31481149
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: 1 year ago.
Category: Microsoft Office
Expert:  J Tech replied 1 year 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 1 year 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?


 


Thanks


Jon

Expert:  J Tech replied 1 year 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 1 year 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 1 year 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.

http://www.youtube.com/watch?v=1YhgGkNRoDU

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... Justanswer.com.
JustAnswer.com...has seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like justanswer.com/legal
...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
< Last | 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:

    36
    A+ Comptia Certified computer repair
< Last | Next >
  • http://ww2.justanswer.com/uploads/JS/jstinehelfer/2012-6-6_215146_Pictureofme1.64x64.png jstinehelfer's Avatar

    jstinehelfer

    Information Systems Manager

    Satisfied Customers:

    36
    A+ Comptia Certified computer repair
  • http://ww2.justanswer.com/uploads/JA/JasonJames122/2011-12-16_135647_jasonjamesheadshotweb.64x64.jpg JasonJames122's Avatar

    JasonJames122

    Computer Enthusiast

    Satisfied Customers:

    0
    I manage all information systems (network of Windows PC's and servers with Microsoft Office products) for a small business
  • http://ww2.justanswer.com/uploads/JE/jessmagz/2012-6-6_18129_jm.64x64.jpg Jess M.'s Avatar

    Jess M.

    Computer Support Specialist

    Satisfied Customers:

    301
    Computer Software Specialist for more than 10 years
  • http://ww2.justanswer.com/uploads/CH/chutz747/2011-11-6_14231_me.64x64.jpg The-PC-Guy's Avatar

    The-PC-Guy

    Computer Manager

    Satisfied Customers:

    274
    20 years experience providing remote computer support
  • http://ww2.justanswer.com/uploads/SP/spherrod/2012-6-6_174244_1000852.64x64.JPG Steve Herrod's Avatar

    Steve Herrod

    Computer Support Specialist

    Satisfied Customers:

    125
    Trained in Microsoft Office from 2000 through to latest version 2010.
  • http://ww2.justanswer.com/uploads/SE/Seashore2011/2011-12-6_33418_111205223015.64x64.jpg Chris L.'s Avatar

    Chris L.

    Support Specialist

    Satisfied Customers:

    124
    Certified Expert with over 10 years experience.
  • http://ww2.justanswer.com/uploads/KR/krkljatorm/2012-6-24_153417_ITMiro.64x64.jpg IT Miro's Avatar

    IT Miro

    Computer Scientist

    Satisfied Customers:

    97
    Bachelor's Degree in Information Technology, Microsoft Certified Professional