Error: A subscript must be between 1 and the size of the array.
This error may occur if the formula is trying to reference/access an element of an Array that does not exist.
Example: The below formula will generate an error because the formula creates 2 array elements in line 1 and line 2 and then on line 3 the formula is comparing the 3rd element of the array to the 1st element of the array. Since there is no 3rd element of the array the ArrayExample will cause the error.
ArrayExample := "Array element 1" ArrayExample := "Array element 2" if ArrayExample = ArrayExample then "Match found" else "No match"