so my formula is this
=SUMPRODUCT(--(B27:B8999<>E27:E8999))
how to convert this to the proper countifs?
the logic to my formula is it is suppose to count how many records of Column B has changed in Column E.
TIA.
so my formula is this
=SUMPRODUCT(--(B27:B8999<>E27:E8999))
how to convert this to the proper countifs?
the logic to my formula is it is suppose to count how many records of Column B has changed in Column E.
TIA.
You can't do that with COUNTIFS because COUNTIF/COUNTIFS will compare each value in col B against a fixed criteria - you effectively have a different criteria for every row - best to stick with your current formula, is it working OK?
Audere est facere
If possible attach the sample file
Your formula should work OK in all excel versions - did you test it in another version?
Any other formulas other than sumproduct that I could use then besides countif to count changes between 2 columns?
why are you so anti sumproduct?
"Unless otherwise stated all my comments are directed at OP"
Mojito connoisseur and now happily retired
where does code go ?
look here
how to insert code
how to enter array formula
why use -- in sumproduct
recommended reading
wiki Mojito
how to say no convincingly
most important thing you need
Martin Wilson: SPV
and RSMBC
There aren't really any better ways, or any need to change as far as I know. SUMPRODUCT is often used because it avoids the need for an array formula. All other options are very similar, e.g.
=SUM(--(B27:B8999<>E27:E8999))
but needs to be confirmed with CTRL+SHIFT+ENTER
or this similar version
=SUM(IF(B27:B8999<>E27:E8999,1))
also confirmed with CTRL+SHIFT+ENTER
....or just use a helper column, e.g. in Z27 copied down
=IF(B27<>E27,1,0)
now just sum column Z for the total number
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks