Right Countif formula

zinah

Active Member
Joined
Nov 28, 2018
Messages
353
Office Version
  1. 365
Platform
  1. Windows
Hi,

I need to count how many completed course by employee, if the Completed Date column has a date, then this course is completed but if it's a blank, then it's not completed. The catch with my current formula it counts the all employee ID even if the completed date is a blank, what is the right formula? what I need is to count Count of Completed per Unique User ID if the Completed_Date has a date only (not a blank or any figure or characters):
current formula =
Excel Formula:
=IFERROR(IF(A2="","",COUNTIF($C:$C,C2)),"")

Completed_DateCourse IDUnique User IDCount of Completed per Unique User ID
2/3/20212875263SS2001272811
9/16/20202823255SS20008736113
1/27/2021761950SS2001243611
2/2/2021761950SS2001256212
10/21/20202836026SS20008736113
9/16/20202839080SS20008736113
10/28/2020696872SS20008736113
11/18/2020808670SS20008736113
9/16/20202255004SS20008736113
11/4/2020167027SS20008736113
2/3/2021697728SS2001256212
2/19/20212975170SS2001243711
10/28/2020778180SS20008736113
10/21/2020784281SS20008736113
5/21/2020779753SS1130458111
Migrated397387SS1162653811
Migrated533302SS1154113511
9/18/20202926134SS1126822711
Migrated184146SS1154293111
9/26/2019420303SS1141325711
7/14/20202822642SS1046392311
2812537SS200087361
2818086SS200087361
743143SS200087361
753906SS200087361
 

Excel Facts

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
Hi,

Try this:

Book3.xlsx
ABCD
22/3/20212875263SS2001272811
39/16/20202823255SS2000873614
410/21/2020SS2000873614
59/16/2020SS2000873614
6MigratedSS200087361 
710/28/2020SS2000873614
8 
Sheet815
Cell Formulas
RangeFormula
D2:D8D2=IF(ISNUMBER(A2),SUMPRODUCT((ISNUMBER(A$2:A$100)*(C$2:C$100=C2))),"")
 
Upvote 0
Solution
Hi,

Try this:

Book3.xlsx
ABCD
22/3/20212875263SS2001272811
39/16/20202823255SS2000873614
410/21/2020SS2000873614
59/16/2020SS2000873614
6MigratedSS200087361 
710/28/2020SS2000873614
8 
Sheet815
Cell Formulas
RangeFormula
D2:D8D2=IF(ISNUMBER(A2),SUMPRODUCT((ISNUMBER(A$2:A$100)*(C$2:C$100=C2))),"")
Exactly what I wanted, thank you so much!
 
Upvote 0
You're welcome, thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,214,922
Messages
6,122,281
Members
449,075
Latest member
staticfluids

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