Lizziepooh
New Member
- Joined
- Sep 4, 2015
- Messages
- 9
Excel for Mac 2011 Version 14.5.4
I've got a scenario where I'm trying to write an if/or function. Here's what I have so far: =IF(OR(C43=0,C44=0),0,IF(OR(C43<61,C44=1),0.05,IF(OR(C43>120,C44>4),0.15,0.1))).
The logic is: if C43 is between 1-60 or C44 =1, then the discount is 5%. If C43 is between 61-120 or C44 is between 2-4, then the discount is 10%. If C43 is greater than 120 or C44 is greater than 4, then the discount is 15%.
Someone suggested using AND instead of OR in the first function, which I've done so the first and second function work fine. Excel just ignores the third function though.
Can you help me fix this formula? Thank you!
I've got a scenario where I'm trying to write an if/or function. Here's what I have so far: =IF(OR(C43=0,C44=0),0,IF(OR(C43<61,C44=1),0.05,IF(OR(C43>120,C44>4),0.15,0.1))).
The logic is: if C43 is between 1-60 or C44 =1, then the discount is 5%. If C43 is between 61-120 or C44 is between 2-4, then the discount is 10%. If C43 is greater than 120 or C44 is greater than 4, then the discount is 15%.
Someone suggested using AND instead of OR in the first function, which I've done so the first and second function work fine. Excel just ignores the third function though.
Can you help me fix this formula? Thank you!