
Function MioSE(a, b)
If a = "EXW" And b = "KG" Then
MioSE = Range("e3").Value
ElseIf a <> "EXW" And b = "KG" Then
MioSE = Range("f3").Value
ElseIf a = "EXW" And b = "NR" Then
MioSE = Range("G3").Value
ElseIf a <> "EXW" And b = "NR" Then
MioSE = Range("H3").Value
End If
End Function
|
=SE(E(A3="EXW";B3="KG");E3;SE(E(A3<>"EXW";B3="KG");F3;SE(E(A3="EXW";B3="NR");G3;SE(E(A3<>"EXW";B3="NR");H3;"valore errato")))) |
