View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tomek gomek tomek gomek is offline
external usenet poster
 
Posts: 13
Default how to compare 2 cells in range


Użytkownik "bj" napisał w wiadomości
...
=sumproduct(--(A1:A100<B1:B100))
will count the number of non equal pairs in rowns 1-100 in columns a and B
note you cannot use A:A<B:B in sumproduct
the--( chnages the logical true false to a numeric 1 0


great, super, wow :)
thanks

tomek