Wrox Programmer Forums Convert Excels formula to acrobat javascript
 | Search | Today's Posts | Mark Forums Read
 Javascript How-To Ask your "How do I do this with Javascript?" questions here.
 Welcome to the p2p.wrox.com Forums. You are currently viewing the Javascript How-To section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
April 6th, 2011, 07:03 PM
 Registered User Join Date: Apr 2011 Posts: 2 Thanks: 0 Thanked 0 Times in 0 Posts
Convert Excels formula to acrobat javascript

Hi,
Could someone help convert the following excel formulas to acobat javascript?

=SUMIF(B2:B29,"LA",A2:A29)+SUMIF(F2:F29,"LA",E2:E2 9)

=SUMPRODUCT(--(B2:B29="CC")+(F2:F29="CC"))

Looking through fields B2 to B29 for characters LA and looking through fields A2 to A29 for a number if both are their sum with others on page two.

sumproduct sum characters CC if they exist fields B2 through to B29 and page two if they exist for a number output

It would be a great help

Cheers
Stephen

Last edited by jenawyn; April 7th, 2011 at 02:33 AM..

 Similar Threads Thread Thread Starter Forum Replies Last Post javascript in adobe acrobat mitch54 Javascript How-To 0 June 24th, 2010 10:13 AM How can I convert an excel formula to javascript wwilson80 Javascript How-To 3 October 23rd, 2009 10:03 PM convert Excel formula to JavaScript amwith Javascript How-To 3 March 7th, 2008 06:31 AM Acrobat forms with Javascript tdmpatio Java Basics 1 March 28th, 2006 05:00 AM Formula to convert date format narooma.12 Crystal Reports 0 April 20th, 2005 04:54 PM