hi
I am struggling to put together a number of formulas to get the required result I am after.
I started off using the IF function and then tried the IFS function, but have not been able to put them together. Each of them works individually, but I have not been able to get the correct syntax to combine them.
Here are the 3 individually:-
Formula 1
Formula 2
Formula 3
In English, IF formula 1 OR formula 2 or formula 3 are TRUE, perform the following calculation - 95*S2-95, if FALSE the result is -100
I tried this at the finally and it unfortunately gave all only positive results when U2 was showing as 1, so is obviously not working correctly either
Using IFS I was unable to get it working at all.
Any suggestions of the correct syntax to have the 3 working together?
Thanks in advance
I am struggling to put together a number of formulas to get the required result I am after.
I started off using the IF function and then tried the IFS function, but have not been able to put them together. Each of them works individually, but I have not been able to get the correct syntax to combine them.
Here are the 3 individually:-
Formula 1
Code:
=IF(AND(D2<=3,U2=1),95*S2-95,-100)
Formula 2
Code:
=IF(AND(D2>=4,D2<=7,U2<=2),95*S2-95,-100)
Formula 3
Code:
=IF(AND(D2>=8,U2<=3),95*S2-95,-100)
In English, IF formula 1 OR formula 2 or formula 3 are TRUE, perform the following calculation - 95*S2-95, if FALSE the result is -100
I tried this at the finally and it unfortunately gave all only positive results when U2 was showing as 1, so is obviously not working correctly either
Code:
=IF(AND(OR(D2<=3,U2=1),OR(D2>=4,D2<=7,U2<=2),OR(D2>=4,D2>=8,U2<=3)),95*S2-95,-100)
Using IFS I was unable to get it working at all.
Any suggestions of the correct syntax to have the 3 working together?
Thanks in advance