# Formula required

#### Shweta

##### Well-known Member
Hi All,

6/25/2012
6/28/2012
7/03/2012
7/04/2012
7/18/2012
8/09/2012
8/27/2012.....and so on

In column B I want output with the below conditions

 if date is >=1-Jun-12 and <15-Jun-12 then show "<15" if date is >=15-Jun-12 and <=30 then show "<30" if date is >=1-Jul-12 and <=30-Jul-12 then show "<60" if date is >=1-Aug-12 and <=30-Aug-12 then show "<90" Please provide me a formula for this. Thanks in advance! Regards, Shweta

<colgroup><col span="6"></colgroup><tbody>
</tbody>

### Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi Shweta

pls find the below formula as requested by you

=IF(AND(A2>=DATE(2012,6,1),A2<DATE(2012,6,15)),"< 15",IF(AND(A2>=DATE(2012,6,15),A2<=DATE(2012,6,30)),"< 30",IF(AND(A2>=DATE(2012,7,1),A2<=DATE(2012,7,31)),"< 60",

regards
Sakthivel R

Replies
5
Views
148
Replies
3
Views
220
Replies
27
Views
425
Replies
3
Views
97
Replies
4
Views
113

1,202,987
Messages
6,052,928
Members
444,615
Latest member
bmwm3cj20

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