formula for: if a1 is greater than 1 but less than 10 value is "a" and how to nest it for 7 iterations