| View previous topic :: View next topic |
| Author |
Message |
hankyknot Newbie

Joined: 14 Sep 2007 Posts: 1
|
Posted: Fri Sep 14, 2007 3:58 am Post subject: IF question |
|
|
I am trying to get a calculation that in plain english does the following
IF D3 is less than 100 then the answer is 5, IF D3 is between 101 & 150 then the answer is 10, IF D3 is greater than 150 then the answer is D3 * .07
I can get a single true/false IF statement with no problem but including the 3rd factor is proving difficult. I have googled for an answer but cannot find one.
Any ideas |
|
| Back to top |
|
 |
willow General User

Joined: 20 Oct 2005 Posts: 37 Location: Crowthorne, Berkshire, UK
|
Posted: Fri Sep 14, 2007 4:06 am Post subject: Nest the IF's |
|
|
If I understand your problem correctly you need to nest the "IF" tests.
Start with the highest condition ( > 150 ) and if it passes that test get the result. If it fails then use another IF to do the second and third part.
=IF(D3>150;D3*0.7;IF(D3>100;10;5)) |
|
| Back to top |
|
 |
Hagar Delest Super User


Joined: 06 Feb 2006 Posts: 5167 Location: France
|
|
| Back to top |
|
 |
|