I'm trying to write a formula for Balanced score card assessment to award a 'rating' against a target that then translates to points and based on the points how much bonus is received. I'm writing the formula as below:
=IF([2022 Actual]6 = 0, 0, IF([2022 Actual]6 < [Scale 2]6, [Scale 2]8, IF([2022 Actual]6 >= [Scale 4]6, [Scale 4]8, INDEX([Scale 2]8:[Scale 4]8, MATCH([2022 Actual]6, [Scale 2]6:[Scale 4]6)) + (([2022 Actual]6 - INDEX([Scale 2]6:[Scale 4]6, MATCH([2022 Actual]6, [Scale 2]6:[Scale 4]6))) / (INDEX([Scale 2]6:[Scale 4]6, MATCH([2022 Actual]6, [Scale 2]6:[Scale 4]6) + 1) - INDEX([Scale 2]6:[Scale 4]6, MATCH([2022 Actual]6, [Scale 2]6:[Scale 4]6))) * (INDEX([Scale 2]8:[Scale 4]8, MATCH([2022 Actual]6, [Scale 2]6:[Scale 4]6) + 1) - INDEX([Scale 2]8:[Scale 4]8, MATCH([2022 Actual]6, [Scale 2]6:[Scale 4]6))))))) * 100
This formula is working if the actual figure is above the target figure but when it's below the formula shows as invalid (screenshots below) help! :)