• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Graduated results

Mobey

New Member
I believe this formula is correct however it only displays results for <30 {0} and >30 {1000} what am I doing wrong?

My formula is:
=IF(B4>30%,1000,IF(B4>31%,2000,IF(B4>32%,3000,0)))

upload_2016-5-18_10-44-56.png
 
The issue is the order of the expressions in =IF(B4>30%,1000,IF(B4>31%,2000,IF(B4>32%,3000,0)))

If a value is 32% it is > 30% and so gets taken as True in the first If, it hence never gets to the second If check

Try:
=IF(B4>33%,4000,IF(B4>32%,3000,IF(B4>31%,2000,IF(B4>30%,1000,0))))
 
Back
Top