# countif range?

#### megaman666

##### Board Regular
Hi, im trying to count values in a column due within 30 days, so I was thinking along the lines of a countif today -30 or any number of days upto today..

=COUNTIF(OPEN!\$M:\$M, TODAY()-30) would equal the ones due IN 30 days but not WITHIN 30 days... any help?

Thanks

### Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
Is it?

=COUNTIF(OPEN!\$M:\$M,">="&TODAY()-30)

perfect, thanks!

was just thinking, is there a way to calculate the following values from this column:

submitted in last 30 days
submitted between 30-60 days ago
submitted between 60-90 days ago

?

worked it out now- thanks again

Replies
3
Views
389
Replies
3
Views
336
Replies
0
Views
279
Replies
7
Views
322
Replies
5
Views
125

1,219,518
Messages
6,148,747
Members
450,832
Latest member
Tyroneb90

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