- Messages
- 29
- Reaction score
- 1
- Points
- 13
Hey, I'm having a problem with the excel part of this paper, there is a 'nested IF' in it, which is kinda confusing.
=IF(E7 >=30,G7*RateC,IF(E7 >=20,RateB*G7,IF(E7 >=10,G7*RateA,0))) ---> gives an answer.
=IF(E7 >=10,G7*RateA,IF(E7 >=20,RateB*G7,IF(E7 >=30,G7*RateC,0))) ---> gives a different answer than the one before.
The mark scheme used the first one, It's kinda confusing, how would I know in which order to put them?
=IF(E7 >=30,G7*RateC,IF(E7 >=20,RateB*G7,IF(E7 >=10,G7*RateA,0))) ---> gives an answer.
=IF(E7 >=10,G7*RateA,IF(E7 >=20,RateB*G7,IF(E7 >=30,G7*RateC,0))) ---> gives a different answer than the one before.
The mark scheme used the first one, It's kinda confusing, how would I know in which order to put them?