IF/THEN statement for Numbers


I have a similar question involving an even more complex if/then statement. Depending upon the price entered in Column A, I want Column B to display a percentage of the value of A. But the percentage isn't straightforward..it depends on the value of Column A. In laymen's terms it would look like this:
IF (Column A) is LESS than $50, THEN 15%(A)
IF (A) is between 50.01100, THEN 10%(A)
IF (A) is GREATER than 100.01, THEN 5%(A)
Is this possible?

Like (0)


Jeff Shenk Manheim, PA
Try this:
=IF(A<=50,0.15*A,IF(A<=100,0.1*A,0.05*A))

Like (0)


You can also attack it from the opposite direction to that suggested by Jeff:
IF(A>100,0.05*A,IF(A>50,0.1*A,0.15*A))
Regards,
Barry

Like (0)


This worked like a charm, and I was even able to add a few more IF/THEN statements to the formula. Thanks so much for helping a Numbers novice.

Like (0)


Hey if im trying to use multiple ranges for example if projections are less then 80,000 then 2, if greater then 80,000 then 3, if greater then 84,000 then 4. it works from below 80 to above 80 but once i go above 84 it keeps displaying 3. Any thoughts, thats my formula below?
IF(C1<80000,2,IF(C1≥80000,3,IF(C1>84000,4)

Like (0)


Hi dvo,
The formula is working correctly. Any value that is greater than 84000 will already have been tested and found greater than 80000. Since C1≥80000 it TRUE, the formula will return 3, and will not test C1>84000.
Rearrange your formula:
Existing: IF(C1<80000,2,IF(C1≥80000,3,IF(C1>84000,4)
Revised: IF(C1>84000,4,IF(C1>=80000,3,2)
Note that testing for C1<80000 is redundant. If C1 is not greater than 84000 and is not equal to or greater than 80000, then it must be less than 80000.
Regards,
Barry

Like (0)


Hi fan,
"I was even able to add a few more IF/THEN statements to the formula."
Once you get beyond three nested IFs, you should be looking at a LOOKUP table and one of the LOOKUP functions, rather than a string of IFs.
Regards,
Barry

Like (0)

