Skip to main content
Participant
Dec 1, 2017 7:00 PM UTC
Question

How to add multiple items and multiply it - need help with Javascript

I would like to add about 3 columns and multiply them by another column and I'm having some problems writing the javascript.

I would like to add totals with the following headings:

Hotel1+Parking1+Mileage1*USexchange1 .

Could someone provide me with the instructions?

This topic is closed to new replies. Start a new post to keep the conversation going.

3 replies

try67
Community Expert
Community Expert
Dec 1, 2017 7:46 PM UTC

Just add parentheses and put the exact formula above under the Simple Field Notation option in the Calculate tab.

You don't need JS.

Translate
Participant
Dec 1, 2017 7:52 PM UTC

Could you give me an example?

Translate
try67
Community Expert
Community Expert
Dec 1, 2017 8:12 PM UTC

(Hotel1+Parking1+Mileage1) * USexchange1

Translate