Date Lookup issue

Eigtball

New Member
Joined
Jan 28, 2005
Messages
2
OK Here is the issue.

I want to perform a COUNTIF on a Range of Cells on one work sheet that display DONE. But I only want it to count the DONE's that fall on a certain month.

Also that Month would of course change.

Here is the Present formula but I need it with a Date.

=COUNTIF('Uncoached List'!G:G,"Not Done")
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
Eigtball said:
OK Here is the issue.

I want to perform a COUNTIF on a Range of Cells on one work sheet that display DONE. But I only want it to count the DONE's that fall on a certain month.

Also that Month would of course change.

Here is the Present formula but I need it with a Date.

=COUNTIF('Uncoached List'!G:G,"Not Done")

Try,

=SUMPRODUCT(--(MONTH(MonthRange)=1),--(Range="Done"))

Where 1 equates to January. Ranges must be of the same size and no whole column references. Substitute the correct worksheet name and ranges.

Edit for Year test,

=SUMPRODUCT(--(MONTH(MonthRange)=1),--(--YEAR(MonthRange)=2005),--(Range="Done"))
 
Upvote 0

Forum statistics

Threads
1,196,409
Messages
6,015,106
Members
441,870
Latest member
kojack

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