Hard validation prevents users from saving data that doesn't meet the criteria you define, ensuring data integrity before it is written back to the Anaplan model.

To create a hard validation, first select the Enable writeback and Enable data entry mode settings in Workbook Options. Then link the validation to a cell containing a logical check and customize the error message.

To create a hard validation:

  1. Create a report and create a small table. In the first column, enter the validation type. For example, enter Hard validation into a cell. 
    • The second column type: Formula. 
    • The third column type: Validation. 
    • The fourth column type: Message. 
  2. Enter a formula into the cell below Formula that returns the Boolean 1 for TRUE and 0 for FALSE for invalid data. For example, cell B2 contains the formula, =COUNTIF(B23:M28,"<0"). This counts the number of negative values.
  3. Enter a formula to return the word TRUE if the formula returns the Boolean 1 and FALSE for 0. For example, cell C2 contains the formula =B2=0. 
  4. Type a message in the cell below Message. For example, type =CONCATENATE("You can only enter positive values. ",B2," cells contain negative values.").
  1. Go to Anaplan XL > Tools > Workbook Options.
  2. Select the Writeback tab. 
  3. In the Formula writeback section, check Enable Writeback. 
  4. In the Data Entry Settings section, check Enable data entry mode and toggle Enable hard validation.
  5. Next to Validation check, select the Pick range icon, choose the cell containing the formula. For example, B2, and choose OK. 
  6. Next to Validation message, select the Pick range icon, choose the cell containing the message. For example, D2, and choose OK. You can type a message in the text box instead of typing it in the workbook.

11. Enter data in the appropriate cells to test for passing and failing validation. 

12. Go to Editing > Save. 

Note: Selecting Enable data entry mode disables the Writeback pane. You must submit your data using the Editing menu and select Save.