I need help in creating the formula that will count how many from my List 1 are in List 2.
Something like this.
=countif(List2,List1)
List 2 is in Sheet3 Column A, this is a fixed list meaning it is not changing.
List 1 in in Sheet1 column J, it is active, it is changing from time to time.
My formula shoud be in A20, on the example below the formula should return 2 because R and S1 from List 1 is on List 2.
Thank you in advance
[TABLE="width: 170"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]List 1[/TD]
[TD][/TD]
[TD]List 2[/TD]
[/TR]
[TR]
[TD]GF3[/TD]
[TD][/TD]
[TD]C1[/TD]
[/TR]
[TR]
[TD]H2[/TD]
[TD][/TD]
[TD]C2[/TD]
[/TR]
[TR]
[TD]NWL[/TD]
[TD][/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]R[/TD]
[TD][/TD]
[TD]P1C[/TD]
[/TR]
[TR]
[TD]S1[/TD]
[TD][/TD]
[TD]P1R[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]P2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]P2R[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]R2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S1P1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S1P2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]WGO[/TD]
[/TR]
</tbody>[/TABLE]
Something like this.
=countif(List2,List1)
List 2 is in Sheet3 Column A, this is a fixed list meaning it is not changing.
List 1 in in Sheet1 column J, it is active, it is changing from time to time.
My formula shoud be in A20, on the example below the formula should return 2 because R and S1 from List 1 is on List 2.
Thank you in advance
[TABLE="width: 170"]
<colgroup><col><col><col></colgroup><tbody>[TR]
[TD]List 1[/TD]
[TD][/TD]
[TD]List 2[/TD]
[/TR]
[TR]
[TD]GF3[/TD]
[TD][/TD]
[TD]C1[/TD]
[/TR]
[TR]
[TD]H2[/TD]
[TD][/TD]
[TD]C2[/TD]
[/TR]
[TR]
[TD]NWL[/TD]
[TD][/TD]
[TD]P1[/TD]
[/TR]
[TR]
[TD]R[/TD]
[TD][/TD]
[TD]P1C[/TD]
[/TR]
[TR]
[TD]S1[/TD]
[TD][/TD]
[TD]P1R[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]P2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]P2R[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]R[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]R2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S1P1[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S1P2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S2[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S3[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]S4[/TD]
[/TR]
[TR]
[TD][/TD]
[TD][/TD]
[TD]WGO[/TD]
[/TR]
</tbody>[/TABLE]