Creating Numeric Variables

From Q
Jump to navigation Jump to search
Related Online Training modules
Excel-Style Formulas
Simple JavaScript Formulas
JavaScript If Statements
Mathematical Functions
Generally it is best to access online training from within Q by selecting Help > Online Training

Numeric Variables can be created by:

  • Copying Variables or Questions and then recoding them by changing Question Type and editing Value Attributes
  • Creating new variables using Excel-Style Formulas. These are designed for less technical people to create variables using Excel-style syntax and by pointing and clicking.
  • Creating new JavaScript Variables, which are written in the JavaScript programming language. This is a more powerful way to create variables; it is much more flexible than the Excel-Style variables (but a little harder to use).
  • Creating new variables using Ready-Made Formulas (e.g., if wanting to create a new variable which is the average or sum of other variables).