If you are using spreadsheets to calculate commissions, you are probably:
- Use messy nested conditions
- Reference cells by name or position
- Have multiple sheets with v-tables, etc.
If someone shifts cells, adds a column, or includes hidden rows of data, the output may be incorrect, or you may get errors such as "#NUM!", etc.
In addition, you may need to split master calculation spreadsheets into individual statements. This creates further potential for error as references may break, the wrong data may be copied, etc.
Sales Cookie lets you use formulas to control every aspect of commission calculations. Those formulas can be filtering formulas, crediting formulas, reward formulas, etc. Formulas are only required when you want to override Sales Cookie's default behavior.
Sales Cookie formulas naturally operate on a per-transaction and/or per-payee basis. For example, if you have 1,000 transactions across 100 payees, the same formulas can be used to calculate commissions per-transaction and per-payee, using the same data processing logic. There is no need for you to split your master spreadsheet into individual ones.
Using formulas, you can create clean data processing scripts which are not subject to all the limitations of a spreadsheet. In the example below, we are calculating a per-transaction commission amount. This logic will automatically run for each credited transaction. We can assign variables and re-use them in our calculations. We also have an early exit condition (IFEX statement), as well as a flow-control using WHEN statements.
For a complete technical reference, click here.