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 show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.

pgc01

MrExcel MVP
Joined
Apr 25, 2006
Messages
19,887
Hi Steven

Try:

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

Hope this helps
PGC
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,012
Messages
5,834,920
Members
430,326
Latest member
tomwax46

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
Top