"Exclude duplicate" in the countifs formula.
Solved
stitchbouck
Posted messages
137
Status
Member
-
stitchbouck Posted messages 137 Status Member -
stitchbouck Posted messages 137 Status Member -
Hello,
In the attached anonymized file as an example, I would like to find out how to include in my initial formula "countifs" the notion of duplicates and exclude repeated occurrences. Or use a completely different formula if necessary!
https://www.cjoint.com/c/KDBkqUrRVPD
1st criterion
It looks for dates in column 2 to return the number of occurrences per month.
2nd criterion
It checks if column F is filled.
3rd criterion
I would like to exclude possible duplicates in column F (for x identical occurrences in column F, count only 1), and I am stuck there.
In the original file, the values are in another tab, and this tab contains the "source" data, I would like to avoid modifying this tab...
Does anyone see a solution?
Thank you!!
In the attached anonymized file as an example, I would like to find out how to include in my initial formula "countifs" the notion of duplicates and exclude repeated occurrences. Or use a completely different formula if necessary!
https://www.cjoint.com/c/KDBkqUrRVPD
1st criterion
It looks for dates in column 2 to return the number of occurrences per month.
2nd criterion
It checks if column F is filled.
3rd criterion
I would like to exclude possible duplicates in column F (for x identical occurrences in column F, count only 1), and I am stuck there.
In the original file, the values are in another tab, and this tab contains the "source" data, I would like to avoid modifying this tab...
Does anyone see a solution?
Thank you!!
I think this solution will systematically eliminate all multiplied occurrences, including their first appearance
I could be wrong, but for it to work, it should be written in G2
=COUNTIF($F$2:F2,F2), with the F field evolving so that it shows 1 at the first appearance.
We can also write
=IF(F2="","",COUNTIF($F$2:F2,F2))
which will limit in the sum formula
=SUMPRODUCT((MONTH(B2:B13)=2)*(G2:G13=1))
To be verified (I'm in a rush)
best regards