# Count Range

#### spotsteven

##### Board Regular
I have a list of Data that is over 10,000 Rows with Column that have dates and accounts..

I have the listed below code to take what is entered manually (A date) in B5 to count how many shipments. I now want to look at by date range.. Meaning that I put in July 1 in "B5" and July 10 in "B6" and tell me how many shipments I had between those date...

Code:
``````=countif("Sheet 1'!\$D:\$D,\$b\$5)

Steven``````

### Excel Facts

How to find 2nd largest value in a column?
MAX finds the largest value. =LARGE(A:A,2) will find the second largest. =SMALL(A:A,3) will find the third smallest
Hi Steven

Try:

Code:
``=countif('Sheet 1'!\$D:\$D,"<="&\$b\$6)-countif('Sheet 1'!\$D:\$D,"<"&\$b\$5)``

Hope this helps
PGC

Replies
14
Views
343
Replies
2
Views
391
Replies
20
Views
790
Replies
2
Views
838
Replies
3
Views
205

1,211,528
Messages
6,102,364
Members
447,794
Latest member
rajmungur

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