# IF greater than less than

#### bigmacneb

##### Board Regular
I have this formula:
=IF(AQ11<180,"1", IF(AQ11>181<730,"2", IF(AQ11>731<1095,"3", IF(AQ11>1096,"4"))))

How is it supposed to be written when trying to determine if a number is between say 181 and 730?

Thanks

### Excel Facts

Move date out one month or year
Use =EDATE(A2,1) for one month later. Use EDATE(A2,12) for one year later.
=IF(AND(AQ11>180,AQ11<770),"2","")

?? that what you looking for?

=IF(ISNUMBER(AQ11),MATCH(AQ11,{-9.99999999999999E+307,181,731,1096}),"")

Replies
4
Views
122
Replies
3
Views
434
Replies
0
Views
340
Replies
2
Views
587
Replies
1
Views
353

1,196,264
Messages
6,014,321
Members
441,814
Latest member
youngstubbs

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