# If, and Statement help

#### Imran Azam

##### Board Regular
Hi Guys,

I am trying to write an if statement based on the results in cell A1 and i cant seem to get this correct

the rules i want to apply in the statement are

If A1 > 0.49 then A1=100
If A1 > 0.39 and less then 0.50 then A1=75
If A1 >0.29 and less then 0.40 then A1= 50

how can i write this in one If statement

thank you guys

### Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.
Try:
IF(A1>0.49,100,IF(A1>0.39,75,IF(A1>0.29,50,0)))

In cell B1

thank you it works

Try:
IF(A1>0.49,100,IF(A1>0.39,75,IF(A1>0.29,50,0)))

In cell B1

Replies
3
Views
560
Replies
0
Views
81
Replies
0
Views
158
Replies
1
Views
321
Replies
2
Views
2K

### Forum statistics

1,221,005
Messages
6,157,341
Members
451,415
Latest member
LettersFromSeneca

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

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