Count Range

spotsteven

Board Regular
Joined
Jul 14, 2005
Messages
102
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)

Thanks in advance!
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
 
Upvote 0

Forum statistics

Threads
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.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

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
Back
Top