# If then / but statement question

#### RFloyd75

##### New Member
<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

Excel Wisdom
Using a mouse in Excel is the work equivalent of wearing a lanyard when you first get to college
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.

This should do it:

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

The percentage to evaluate is in A1.

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:
schielrn

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

Replies
5
Views
90
Replies
14
Views
166
Replies
2
Views
72
Replies
0
Views
340
Replies
1
Views
379

1,196,179
Messages
6,013,893
Members
441,791
Latest member
SKeulder

### 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.

### Which adblocker are you using?

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

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