Use formulas

Formulas are advanced calculations that you add to plan lines.

A formula can include the following:

  • Values: Whole numbers, decimals, or percent.

  • Operators: + , - , * , / , % , and ( )

  • Plan line references: Create dependencies between the current plan line and referenced plan lines. as discussed in Insert plan line references.

Add or edit a formula

In the plan grid, formula indicates the plan line has a formula. If you have permissions, you can edit the formula or add formulas. See Who can add, edit, or remove formulas?

Start

To add a new formula to a plan line or to edit an existing formula, navigate to a plan line and do the following:

  1. From the right column, select Actions menu, and then do one of the following:

    • Select Add formula or Edit formula.

    • Select View details and then Add formula or Edit formula. For more information, see View plan line details.

    Formula editor

  2. To add or edit a formula, do the following:

    • Enter calculations with numbers and standard operators.

    • Add plan line references as described in Insert plan line references.

    • Copy and paste formulas, as follows:

      • copy Copy: Copy formula from the formula editor to the clipboard

      • paste Paste: Paste the copied formula to the formula editor

        Your browser might ask you to allow the use of the clipboard for this site to paste data in your plan.

  3. Select Save.

Insert plan line references

Plan line references in a formula create dependencies between plan lines. After you create the dependency, when you update a referenced plan line, the plan line with the formula updates too.

  • In each formula, you can add as many plan line references as needed.

  • In each plan line reference, you can reference a single or multiple plan lines.

  • The values of each time period depend on the corresponding time periods of the referenced plan lines.

Start

To add a plan line reference, do the following:

  1. With the cursor in the formula editor, press Ctrl+P on your keyboard.

    If caps lock is on, you may launch your print dialog instead.

  2. Select an account and dimensions of the plan line you want to add as a reference.

  3. Ensure that no dimension values appear in red, which indicates that no such plan line exists for the current combination.

  4. Select Apply.

    If you try to apply a formula that references the current plan line directly or indirectly, this creates a loop error. To resolve this, select Remove or change the formula and Apply again. If you are unsure why the loop error message appears, check the Referenced by tab in the plan line details flyout. Your formula can't reference any plan line listed there, because those plan lines reference back to the current line.

  5. (Optional) Edit data of a referenced plan line

    After you apply a formula with referenced plan lines, you can view and edit the referenced plan lines data in the References tab of the plan line details flyout. See Edit references data.

Remove a formula and edit the data

To manually edit individual cell data of a plan line that relies on a formula, you first need to remove the formula. After you remove the formula, the plan line values determined by the formula remain as is. You can edit or adjust the cells data manually as described in Modify plan data.

Start

  1. Navigate to a plan line.

  2. From the right column, select Actions menu > Remove formula > Remove.

Who can add, edit, or remove formulas?

The following table summarizes who can add, edit, or remove formulas:

Role Formula capabilities

Owner

Can create, edit, and remove all formulas.

User

  • Can create, edit, and remove new formulas based on permissions.

  • For shared plans that contain existing formulas, a user can't create, edit, or remove the existing formula, but can do the following:

    • Identify that a plan line contains a formula.

    • View time period values generated by a formula.

User with extended access

  • Can view formula related data in shared plans beyond their defined access.

  • Can Enable editing to view and remove existing formulas, and add new formulas in shared plans.

    Enable editing message for extended users

Who can add, edit, or remove formulas

Is this helpful?