Document Drafter Learning

Calculations
This lesson will teach you how to create calculations based on input in the questionnaire.

Creating a calculation

To create a calculation your questionnaire must contain at least one number field question.

  1. Place the cursor where you want the to insert the result of the calculation.
  2. Right click and select Insert calculation.
  3. Insert formula
  4. Select output format
  5. Insert number of decimals (e.g. "0" or "2")
  6. Select Insert.

Elements in a formula

A formula can contain the following elements:

  1. + - * and /
  2. Reference to number field questions (e.g. "Q2")
  3. Reference to other calculations (e.g. "C1")
  4. Number (e.g. "100")
  5. ( )