excel - Countif or something to count occurrence of cell(A) equal to the summation of two cells (B+C) -


in excel 2016,

a1 $1       b1 $2      c1 $3 a2 $2       b2 $3      c2 $5 a3 $1       b3 $0      c3 $5 a4 $3       b4 $2      c4 $2 a5 $3       b5 $2      c5 $7 

if can please in formula count how many values column c equal respective row summation of + b. instance there should count of 2, since row 1 column 3 or c1 equals summation of a1 + b1; , row 2 column 3 or c2 equals 5. in advance.

one option here add computed column d has following formula:

= if(c1 = a1 + b1, 1, 0) 

copy above formula down column d cover data. can take sum of column count want. note not need add new formula; selecting d column should produce summary statistics on bottom, including sum.


Comments

Popular posts from this blog

node.js - Node js - Trying to send POST request, but it is not loading javascript content -

javascript - Replicate keyboard event with html button -

javascript - Web audio api 5.1 surround example not working in firefox -