COUNTIFS Formula

Rob0424

New Member
Joined
Jan 9, 2007
Messages
40
Office Version
  1. 2016
Could someone help me with this formula. I am getting a #VALUE error.

=COUNTIFS('Workload Tracking'!C3:C38,"Active",'Workload Tracking'!F3:I38,A22)

Cell A22 contains a name that would match names in the range Workload Tracking'!F3:I38
 

Excel Facts

What is the shortcut key for Format Selection?
Ctrl+1 (the number one) will open the Format dialog for whatever is selected.
The ranges in countifs must be the same size, try
Excel Formula:
=SUMPRODUCT(('Workload tracking'!C3:C38="Active")*('Workload tracking'!F3:I38=A22))
 
Upvote 0
Thank you. Now I am trying to add one more criteria:

=SUMPRODUCT(('Workload Tracking'!$C$3:$C$38="Active")*('Workload Tracking'!$G$3:$I$38=A21)*('Workload Tracking'!G2:I37=""))

What this formula should look for and count it if the first Range has the word Active, the second range matches the name in A21, and then adding the third range if these cells are all blank.
 
Upvote 0
Can you post some sample data using the XL2BB add-in, as your new request does not make much sense.
 
Upvote 0
Try
=SUMPRODUCT(('Workload Tracking'!$C$3:$C$38="Active")*(('Workload Tracking'!$G$3:$I$38=A21)+('Workload Tracking'!G2:I37="")))
 
Upvote 0

Forum statistics

Threads
1,223,897
Messages
6,175,271
Members
452,628
Latest member
dd2

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