I have data in the below format
Name AccruedDate UtilisedDate Lapsed Date AccruedDate UtilisedDate Lapsed Date
Anna 3rd Feb 2013 10th Mar 2013 3rd Apr 2013 3rd Feb 2013 3rd Apr 2013 3rd Apr 2013
Mary 4th Jan 2013 4th Apr 2013 5th June 2013 15th June 2013
I want the count of how many Anna and Mary has Acrrued Leaves (answer is 2) which is under "Accrued Date" column and the same way I want count of how many Utillised Leaves and how many Lapsed Leaves for all the employees under the "UtilisedDate" and "Lapsed Date" column respectively. Also note that some of these columns can also be left blank if there are no dates to be entered.
Sumif(A1:A7,"Accrued Date",B2:B7) will give the sum of all the dates which is the wrong answer since I want the count. Please help.
Thanks in advance
Bookmarks