Function PER$(cellule As Range, plage As Range) 'recherche les permutations dans plage, colonne de cellule exclue
Dim txt$, x$, y$, z$, c1$, c2$, c3$, c4$, c5$, c6$, cel As Range
Set plage = Intersect(plage, Range("2:" & Cells(65536, cellule.Column).End(xlUp).Row))
txt = Application.Trim(cellule) 'sécurité
x = Split(txt, " ")(0)
y = Split(txt, " ")(1)
z = Split(txt, " ")(2)
c1 = txt
c2 = x & " " & z & " " & y
c3 = y & " " & x & " " & z
c4 = y & " " & z & " " & x
c5 = z & " " & x & " " & y
c6 = z & " " & y & " " & x
For Each cel In plage
If cel.Column <> cellule.Column Then
txt = Application.Trim(cel)
If txt = c1 Or txt = c2 Or txt = c3 Or txt = c4 Or txt = c5 Or txt = c6 Then _
PER = PER & cel.Address & "-"
End If
Next
PER = Replace(PER, "$", "")
End Function