Replacing a COUNTIFS statement for excel 2003

tommypayne

New Member
Joined
May 6, 2011
Messages
3
Hi,

I'm looking to replace a COUNTIFS statement to enable the use of a workbook in Excel 2003.

The speadsheet is for a project that im running. The first criteria looks up the initials of someones name against a task and then the second criteria looks at if they have completed the task to work out which tasks are still outstanding.

=COUNTIFS('CONTRACTUAL TASKS'!$C$5:$C$24,C3,'CONTRACTUAL TASKS'!$D$5:$D$24,"NO")

Any help would be greatly appreciated. Please let me know if this is unclear.

Many thanks

Tommy
 

Excel Facts

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
Try

=SUMPRODUCT(--('CONTRACTUAL TASKS'!$C$5:$C$24=C3),--('CONTRACTUAL TASKS'!$D$5:$D$24="NO"))
 
Upvote 0
Hi,

I'm looking to replace a COUNTIFS statement to enable the use of a workbook in Excel 2003.

The speadsheet is for a project that im running. The first criteria looks up the initials of someones name against a task and then the second criteria looks at if they have completed the task to work out which tasks are still outstanding.

=COUNTIFS('CONTRACTUAL TASKS'!$C$5:$C$24,C3,'CONTRACTUAL TASKS'!$D$5:$D$24,"NO")

Any help would be greatly appreciated. Please let me know if this is unclear.

Many thanks

Tommy
Try...

Either, just enter:

=SUMPRODUCT(--('CONTRACTUAL TASKS'!$C$5:$C$24=C3),--('CONTRACTUAL TASKS'!$D$5:$D$24="NO"))

Or, control+shift+enter, not just enter:

=SUM(IF('CONTRACTUAL TASKS'!$C$5:$C$24=C3,IF('CONTRACTUAL TASKS'!$D$5:$D$24="NO",1)))
 
Upvote 0
Many thanks for the rapid response.

=SUMPRODUCT(--('CONTRACTUAL TASKS'!$C$5:$C$24=C3),--('CONTRACTUAL TASKS'!$D$5:$D$24="NO"))

Worked perfectly!

All the best and have a nice weekend :)
 
Upvote 0
-- coerces an array of False/True values to 0/1 values that SUMPRODUCT can evaluate.
 
Upvote 0

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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