arrays - Find if all list1 element are greater than the second list in excel -
i have 2 list contains numbers.
list1 {a, b, c, d} , list2 {a, b, c, d}.
is there way in excel know if values of list1 greater same index value in list2. in other word if and(a > a, b > b, c> c)
true
.
both vertical arrays (not cse)
=sumproduct(--(array1>array2))=count(array1)
both horizontal arrays (cse)
=sumproduct(--(transpose(array1)>transpose(array2)))=count(array1)
array 1 horrizontal array 2 vertical (cse)
=sumproduct(--(transpose(array1)>array2))=count(array1)
array 2 horrizontal array 1 vertical (cse)
=sumproduct(--(array1>transpose(array2)))=count(array1)
this cse formula. means use control+shift+enter instead of enter when edit or enter formula.
Comments
Post a Comment