Formula to count dates in column C where there are specific values in same row on column A&B only

Snoochieboochie12

New Member
Joined
May 14, 2019
Messages
1
Hi,

I hope someone can help me; I’m tearing my hair out trying to get this to work.
I am trying to put together a table to measure progress made by a number of individuals to completing their tasks for a given month.
In this summary table I will need to count the number on nonblack cells in a column (Take C as the example) where there is a certain text string on the same row in two other columns (A & B).
i.e. in Count dates in column C where Column A says ‘Dan’ and Column B says ‘June’.
Columns C – F will be populated with VLOOKUP’s, so the formula needs to count ignore the formula and count only the results.

Sheet 1:
Illustrative Table:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]F[/TD]
[TD]G[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Design Submitted[/TD]
[TD]Design Approved[/TD]
[TD]Build Started[/TD]
[TD]Build Completed[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD][/TD]
[TD]Dan[/TD]
[TD]June[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD][/TD]
[TD]Matt[/TD]
[TD]June[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD][/TD]
[TD]Dan [/TD]
[TD]July[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD][/TD]
[TD]Matt[/TD]
[TD]July[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD][/TD]
[TD]Dan[/TD]
[TD]Aug[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD][/TD]
[TD]Matt[/TD]
[TD]Aug[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD]Lee[/TD]
[TD]Aug[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD]COUNT[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]



Sheet 2
Data:
[TABLE="width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[TD]D[/TD]
[TD]E[/TD]
[TD]F[/TD]
[TD]G[/TD]
[TD]H[/TD]
[TD]I[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Manager[/TD]
[TD]Month[/TD]
[TD]Design Submitted[/TD]
[TD]Design Approved[/TD]
[TD]Build Started[/TD]
[TD]Build Completed[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Dan[/TD]
[TD]June[/TD]
[TD]12/1/18[/TD]
[TD]12/1/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Matt[/TD]
[TD]June[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]4[/TD]
[TD]Dan[/TD]
[TD]July[/TD]
[TD]12/1/18[/TD]
[TD]12/1/18[/TD]
[TD]12/1/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]5[/TD]
[TD]Matt[/TD]
[TD]Aug[/TD]
[TD]12/1/18[/TD]
[TD]12/1/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]6[/TD]
[TD]Lee[/TD]
[TD]June[/TD]
[TD]12/1/18[/TD]
[TD]12/1/18[/TD]
[TD]12/1/18[/TD]
[TD]12/1/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]7[/TD]
[TD]Dan[/TD]
[TD]July[/TD]
[TD]12/1/18[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]8[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]

[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]


I ideally need this to work on a table populated with formula results, but could live with converting it all to plain text if I need to.

Any help would be much appreciated! Many thanks
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.
Hello,

I'm not sure why your example shows count for all cells if you said that you only want to count non blank cells.
 
Upvote 0
How about


Excel 2013/2016
ABCDEF
1Design SubmittedDesign ApprovedBuild StartedBuild Completed
2DanJune1100
3MattJune0000
4DanJuly2110
5MattJuly0000
6DanAug0000
7MattAug1100
8LeeAug0000
Sheet1
Cell Formulas
RangeFormula
C2=COUNTIFS(Sheet2!$A$2:$A$7,$A2,Sheet2!$B$2:$B$7,$B2,Sheet2!C$2:C$7,"<>")
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

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