Hello Guys;
I do appreciate your help to count the number of codes in each year ignoring the duplicates dates in this selected year
I used that formula but it's not ignoring duplicates
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 228"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]A (Date)[/TD]
[TD]B (Code)[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1NACHLRD[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1HYDRCAC[/TD]
[/TR]
[TR]
[TD]20-06-10[/TD]
[TD]1ACTCAC[/TD]
[/TR]
[TR]
[TD]29-06-12[/TD]
[TD]1MTLPRBNB[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1BNZYLALC[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1NAEDTA[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1PEG400[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1ETHNL96[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1DMNNTL[/TD]
[/TR]
[TR]
[TD]02-06-13[/TD]
[TD]1NACHLRD[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1NAACTTHD[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1ETHNL96[/TD]
[/TR]
[TR]
[TD]30-06-09[/TD]
[TD]2AMVAR05TR[/TD]
[/TR]
[TR]
[TD]12-07-12[/TD]
[TD]1MTLPRBNB[/TD]
[/TR]
[TR]
[TD]12-07-13[/TD]
[TD]1NAMTBSLF[/TD]
[/TR]
[TR]
[TD]16-07-14[/TD]
[TD]1NACHLRD[/TD]
[/TR]
[TR]
[TD]02-08-15[/TD]
[TD]1LCOVNCA[/TD]
[/TR]
[TR]
[TD]10-08-09[/TD]
[TD]2AMVAR05TR[/TD]
[/TR]
[TR]
[TD]10-08-09[/TD]
[TD]2AMVAR05TR[/TD]
[/TR]
[TR]
[TD]10-08-19[/TD]
[TD]2AMVAR05TR[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]
I do appreciate your help to count the number of codes in each year ignoring the duplicates dates in this selected year
I used that formula but it's not ignoring duplicates
Code:
=COUNTIFS(Data!$B$2:$B$10000,B2,Data!$A$2:$A$10000,">=1/1/2012",Data!$A$2:$A$10000,"<1/1/2013")
[TABLE="width: 500"]
<tbody>[TR]
[TD][TABLE="width: 228"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]A (Date)[/TD]
[TD]B (Code)[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1NACHLRD[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1HYDRCAC[/TD]
[/TR]
[TR]
[TD]20-06-10[/TD]
[TD]1ACTCAC[/TD]
[/TR]
[TR]
[TD]29-06-12[/TD]
[TD]1MTLPRBNB[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1BNZYLALC[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1NAEDTA[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1PEG400[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1ETHNL96[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1DMNNTL[/TD]
[/TR]
[TR]
[TD]02-06-13[/TD]
[TD]1NACHLRD[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1NAACTTHD[/TD]
[/TR]
[TR]
[TD]29-06-09[/TD]
[TD]1ETHNL96[/TD]
[/TR]
[TR]
[TD]30-06-09[/TD]
[TD]2AMVAR05TR[/TD]
[/TR]
[TR]
[TD]12-07-12[/TD]
[TD]1MTLPRBNB[/TD]
[/TR]
[TR]
[TD]12-07-13[/TD]
[TD]1NAMTBSLF[/TD]
[/TR]
[TR]
[TD]16-07-14[/TD]
[TD]1NACHLRD[/TD]
[/TR]
[TR]
[TD]02-08-15[/TD]
[TD]1LCOVNCA[/TD]
[/TR]
[TR]
[TD]10-08-09[/TD]
[TD]2AMVAR05TR[/TD]
[/TR]
[TR]
[TD]10-08-09[/TD]
[TD]2AMVAR05TR[/TD]
[/TR]
[TR]
[TD]10-08-19[/TD]
[TD]2AMVAR05TR[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[/TR]
</tbody>[/TABLE]