If then / but statement question

RFloyd75

New Member
Joined
Mar 4, 2009
Messages
2
<DIR>
I am tyring to build a formula that says if it is 88% or greater but less than 90% give me $1,000, If it is 90% or greater but less than 92% than $1,250, IF it is 92% or greater then $1,500, else zero.

Any suggestions!!​
</DIR>
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
Welcome to the Board!

Try:

=if(a1<.88,0,if(a1<.9,1000,if(a1<.92,1250,1500)))

or:

=if(a1>=.92,1500,if(a1>=.9,1250,if(a1>=.88,1000,0)))

You can also use lookup or vlookup for this, but I have to go and this was easier for me to type out.

Hope that helps.
 
Upvote 0
This should do it:

=LOOKUP(A1,{0,0.88,0.9,0.92},{0,1000,1250,1500})

The percentage to evaluate is in A1.
 
Upvote 0
For fun here's another way:

Code:
=1000*(A1>=88%)+250*(((A1>=92%)+(A1>=90%)))

which could also be written as:
Code:
=1000*(A1>=0.88)+250*SUM(--(A1>={0.92,0.9}))
 
Last edited:
Upvote 0
schielrn

This appears to have worked. Thank you so much!!!

Everyone else thank you for your replys and help!
 
Upvote 0

Forum statistics

Threads
1,214,952
Messages
6,122,457
Members
449,083
Latest member
Ava19

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top