countif with date range

MASHED_33

New Member
Joined
Nov 26, 2009
Messages
12
Hi,

I'm trying to count the Excellent and Very Good "Status" from range Jan. 27 to Feb. 3; I tried a simple function =SUMPRODUCT(--(AW27:AW45<"02/02/2011"+0),--(AB27:AB45="Very Good")) to just compute Very Good before Feb. 2, but it only returns zero.

I have just also tried counting Dates before Feb. 2 [=COUNTIFS(AW27:AW45,"<=$AW$30")], just to decipher what code should I use but also returns zero.

:banghead:


Status Date

Good 27/01/2011
Very Good 27/01/2011
Excellent 27/01/2011
Very Good 02/02/2011
Excellent 03/02/2011
Excellent 10/02/2011

Appreciate anyone's help on this. I'm using Office 2007
 
Hi Guys,

Thanks for all your help. COUNTIFS and SUMPRODUCT would work on this just as easy as that, the issue is that the contents of the table has a different format or may be it's protected.

After I copied the Table and paste it as value, I ran COUNTIFS and SUMPRODUCT at the same time and this time it works.

Thanks again!!!:beerchug:
 
Upvote 0

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce

Forum statistics

Threads
1,224,592
Messages
6,179,787
Members
452,942
Latest member
VijayNewtoExcel

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