Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Formula array

1 réponse
Avatar
PST
Bonjour

comment tenir compte des deux variables dans la matricielle


Sub test_mat_array_2()

Min = [C1]
Max = [D1]

MyArray = [B1:B10]



[B11].FormulaArray = "=SUM((B1:B10>=Min)*(B1:B10<=Max))" >>> #NOM?


[B12] = Evaluate("SUM((B1:B10>=Min)*(B1:B10<=Max)") >>>> #VALEUR!


End Sub

merci

1 réponse

Avatar
JB
Bonsoir,

[B12] = Evaluate("SUMproduct((B1:B10>Á)*(B1:B10<Ñ))") ' nb
[B13] = Evaluate("SUMproduct((B1:B10>Á)*(B1:B10<Ñ)*(B1:B10))")
'somme


JB
On 23 août, 21:28, PST wrote:
Bonjour

comment tenir compte des deux variables dans la matricielle

Sub test_mat_array_2()

Min = [C1]
Max = [D1]

MyArray = [B1:B10]

[B11].FormulaArray = "=SUM((B1:B10>=Min)*(B1:B10<=Max))" >>> #NOM?

[B12] = Evaluate("SUM((B1:B10>=Min)*(B1:B10<=Max)") >>>> #VALEUR!

End Sub

merci