I'm trying to create my own calculation in RSA Archer. I'm comparing to Date fields. Sample calculation:
Field name Field Type
Field 1 Date
Field 2 Date
Field 3 Values List
IF(DATEDIF([Field 1], [Field 2]) > 0, VALUEOF([Field 3], "Green"),
IF(DATEDIF([Field 1], [Field 2]) > 1, VALUEOF([Field 3], "Amber"),
IF(DATEDIF([Field 1], [Field 2]) > 3, VALUEOF([Field 3], "Red"),
VALUEOF([Field 3],"Not Calculated"))))
But unfortunately, I encountered an Error.
Can anyone help me fix this error message or can someone suggest a better way to manipulate this calculation?