Need to input a Range of Dates in a Formula

lbc0056

New Member
Joined
Sep 2, 2014
Messages
8
I am working on a project that calculates how often each of our vendors are "On Time" with their shipments. I need to figure out how to input a range of dates in a formula. For example "1/1/2014 through 3/31/2014". This is the formula I have now =COUNTIFS(E:E,"Vendor A",J:J,"Late",H:H,N5)
That refers to =COUNTIFS("Vendor Name Column","Vendor A","Early/On Time/Late Column","Late","Date Received Column",???)
How do I put a range of dates where the question mark is, so that it will pull any date in that range from the Date Received Column?
 

Excel Facts

Difference between two dates
Secret function! Use =DATEDIF(A2,B2,"Y")&" years"&=DATEDIF(A2,B2,"YM")&" months"&=DATEDIF(A2,B2,"MD")&" days"
=COUNTIFS($E:$E,"Vendor A",$J:$J,"Late",$H:$H,">="&DATEVALUE("1/1/2014"), $H:$H,"<="&DATEVALUE("31/3/2014"))

or

=COUNTIFS($E:$E,"Vendor A",$J:$J,"Late",$H:$H,">="&DATE(2014,1,1), $H:$H,"<="&DATE(2014,3,31))
 
Upvote 0

Forum statistics

Threads
1,225,477
Messages
6,185,224
Members
453,283
Latest member
Shortm88

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