Hi,
I have a complicated nestled If string which isn't working - does anyone know why?
=(IF(OR(((F6-I7)>O3),((F6-I7)<K3)),(IF((F6-I7)=(AB5:AB247)),(((F6-I7)-K7)-1)),((F6-I7)-K7),(IF((F6-I7)=(AB5:AB247)),((F6-I7)-1),(F6-I7))))
Logic:
Find if (F6-I7) is greater than O3 or smaller than K3
Do this if value is true (i.e. (F6-I7) greater than O3 or smaller than K3): if (F6-I7) is equal to a number in the range (AB5:AB247) return (((F6-I7)-K7)-1), and if it's not equal to a number in the range (AB5:AB247) return ((F6-I7)-K7)
Do this if value is false (i.e. (F6-I7) smaller than O3 or greater than K3): if (F6-I7) is equal to a number in the range (AB5:AB247) return ((F6-I7)-1), and if it's not equal to a number in the range (AB5:AB247) return (F6-I7)
I have a complicated nestled If string which isn't working - does anyone know why?
=(IF(OR(((F6-I7)>O3),((F6-I7)<K3)),(IF((F6-I7)=(AB5:AB247)),(((F6-I7)-K7)-1)),((F6-I7)-K7),(IF((F6-I7)=(AB5:AB247)),((F6-I7)-1),(F6-I7))))
Logic:
Find if (F6-I7) is greater than O3 or smaller than K3
Do this if value is true (i.e. (F6-I7) greater than O3 or smaller than K3): if (F6-I7) is equal to a number in the range (AB5:AB247) return (((F6-I7)-K7)-1), and if it's not equal to a number in the range (AB5:AB247) return ((F6-I7)-K7)
Do this if value is false (i.e. (F6-I7) smaller than O3 or greater than K3): if (F6-I7) is equal to a number in the range (AB5:AB247) return ((F6-I7)-1), and if it's not equal to a number in the range (AB5:AB247) return (F6-I7)