Column A has current building, column b has future building. Would like to count the number of changes without adding a separate column with an if statement.
Column A has current building, column b has future building. Would like to count the number of changes without adding a separate column with an if statement.
Try
=SUMPRODUCT(--(A2:A12<>B2:B12))
thanks. that worked. can you explain the "--" what that does?
You're welcome.
(A2:A12<>B2:B12) in sumproduct is creating an array of TRUE or FALSE values
The -- converts True/False to 1/0
True=1, False=0
it then adds them up.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks