I have been trying to count the non-blank entries of a colomn based on another colomn's value, problem is there is multiple instances. Please see the following table
F.No Name 2014-2015
1 Mithilesh Kr.Singh
1 Mithilesh Kr.Singh
1 Mithilesh Kr.Singh
1 Mithilesh Kr.Singh
1 Mithilesh Kr.Singh
1 Mithilesh Kr.Singh
1 Mithilesh Kr.Singh 3434
1 Mithilesh Kr.Singh 4234
1 Mithilesh Kr.Singh
2 Jaiprakash Singh
2 Jaiprakash Singh 234
2 Jaiprakash Singh
2 Jaiprakash Singh 342
2 Jaiprakash Singh
2 Jaiprakash Singh
2 Jaiprakash Singh 3423
3 Narayan Jha
3 Narayan Jha
3 Narayan Jha
As you can see there are repeated names, I have to count that how many unfilled cells are there for colomn 1's unique value, for example for F.No 1 the count for year 2014-15 must be 2, likewise for F.No 2 the count must be 3 and for F.No 3 the count must be 0.
Is there any CountA
or Countif
formulas that could help me ?
PS: Colomn 2 is just for the sake of relevance to the situation.
Edit 1: I made some progress , =COUNTIFS(A:A,"3",C:C,"<>") , this gives me count for F.No = 3, but I don't want to enter 1,2,3 and so on F.Nos, What should I replace with 3 in above formula?
Edit 2: Some more progress ( thanks to @Shauno_88 ) =IF(COUNTIFS(A:A,"1",C:C,"<>")>0,1,0) This is returning me 1 if there is any single entry for F.NO 1 in column A, Now How to get the count for all other F.Nos ?? Any Macros ? Any VBA ?