J'ai 2 colonnes excel qui comportes certaines ref=E9rences communes, je
voudrais afficher 1 troisieme colonne avec ces references communes
merci par avance
Cette action est irreversible, confirmez la suppression du commentaire ?
Signaler le commentaire
Veuillez sélectionner un problème
Nudité
Violence
Harcèlement
Fraude
Vente illégale
Discours haineux
Terrorisme
Autre
JB
Fonction perso Intersection() matricielle -Sélectionner C2:C10 -=intersection(A2:A10;B2:B10) -Valider avec Maj+Ctrl+Entrée
http://cjoint.com/?igrsKierGE
Function InterSection(a As Range, b As Range) Dim temp() k = 0 For i = 1 To a.Count For j = 1 To b.Count If a(i) = b(j) Then ReDim Preserve temp(k) temp(k) = a(i) k = k + 1 End If Next j Next i InterSection = Application.Transpose(temp) End Function
JB
Bonjour
J'ai 2 colonnes excel qui comportes certaines reférences communes, je voudrais afficher 1 troisieme colonne avec ces references communes merci par avance
Fonction perso Intersection() matricielle
-Sélectionner C2:C10
-=intersection(A2:A10;B2:B10)
-Valider avec Maj+Ctrl+Entrée
http://cjoint.com/?igrsKierGE
Function InterSection(a As Range, b As Range)
Dim temp()
k = 0
For i = 1 To a.Count
For j = 1 To b.Count
If a(i) = b(j) Then
ReDim Preserve temp(k)
temp(k) = a(i)
k = k + 1
End If
Next j
Next i
InterSection = Application.Transpose(temp)
End Function
JB
Bonjour
J'ai 2 colonnes excel qui comportes certaines reférences communes, je
voudrais afficher 1 troisieme colonne avec ces references communes
merci par avance
Fonction perso Intersection() matricielle -Sélectionner C2:C10 -=intersection(A2:A10;B2:B10) -Valider avec Maj+Ctrl+Entrée
http://cjoint.com/?igrsKierGE
Function InterSection(a As Range, b As Range) Dim temp() k = 0 For i = 1 To a.Count For j = 1 To b.Count If a(i) = b(j) Then ReDim Preserve temp(k) temp(k) = a(i) k = k + 1 End If Next j Next i InterSection = Application.Transpose(temp) End Function
JB
Bonjour
J'ai 2 colonnes excel qui comportes certaines reférences communes, je voudrais afficher 1 troisieme colonne avec ces references communes merci par avance