Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Trying to get a calculation to take the data in one field and depending on what it is adding the information to a total field. there are multiple lines in this document.

LindaCade
Level 1
Level 1

I am trying to get a sumif statement to work in three different fields.  The data is located in two separate fields in the form.  Rate and Miles.  There are 31 lines on this form that can contain data in these fields that needs to be included in the appropriate field below:

  1. If “Rate” = S add to Standard (S) Miles Take
    information in corresponding line in field MILES and add to Line 34 TOTAL
    STANDARD MILES
  2. If “Rate” = F add to Fleet (F) Miles Take information
    in corresponding line in field MILES and add to Line  Line 35 TOTAL FLEEET MILES
  3. If “Rate” = R add to Rental( R) Miles Take information
    in corresponding line in field MILES and add to Line  Line 36 TOTAL RENTAL MILES
1 Accepted Solution
Mayank_Gandhi
Correct answer by
Community Advisor
Community Advisor

Hi Linda,

You might have to iterate across the fields and based on the 'Rate' field value trigger the if else condition in the loop itself. Something like Trying to convert a SUMIF formula from Excel to Acrobat DC form (javascript)

View solution in original post

1 Reply
Mayank_Gandhi
Correct answer by
Community Advisor
Community Advisor

Hi Linda,

You might have to iterate across the fields and based on the 'Rate' field value trigger the if else condition in the loop itself. Something like Trying to convert a SUMIF formula from Excel to Acrobat DC form (javascript)

View solution in original post