Sub TestR()
Dim T1, T2, i As Long, j As Long, k As Long, T As String, Test As String
With Worksheets("Feuil1")
T1 = .Range("D2:H" & .Range("D" & Rows.Count).End(xlUp).Row - 1)
T2 = .Range("Q2:Q" & .Range("Q" & Rows.Count).End(xlUp).Row)
For i = 1 To UBound(T2, 1)
T = ""
For j = 1 To UBound(T1, 1)
If T2(i, 1) = T1(j, 1) Then
For k = 2 To UBound(T1, 2)
If T1(j, k) > 0.25 Then
T = T & k - 1 & "|"
End If
Next
Exit For
End If
Next
Select Case T
Case "1|", "1|4|"
T2(i, 1) = "Resistance E"
Case "2|", "2|4|"
T2(i, 1) = "Resistance F"
Case "3|", "3|4|"
T2(i, 1) = "Resistance G"
Case "4|"
T2(i, 1) = "Resistance H"
Case "1|2|3|", "1|2|3|4|"
T2(i, 1) = "Resistance A"
Case "1|2|", "1|2|4|"
T2(i, 1) = "Resistance B"
Case "1|3|", "1|3|4|"
T2(i, 1) = "Resistance C"
Case "2|3|", "2|3|4|"
T2(i, 1) = "Resistance D"
Case Else
T2(i, 1) = "--"
End Select
Next
.Range("AA2").Resize(UBound(T2), 1) = T2
End With
End Sub