=SUM(IF("No Change"<>$BN$3:$BN$277, 1/(COUNTIFS($BN$3:$BN$277, "<>No Change", $B$3:$B$277, $B$3:$B$277)), 0))
=SUM(--(FREQUENCY(IF(B3:B227<>"No Change",BN3:BN227),BN3:BN227)>0))
does No Change have blanks? (assuming that is a named range, if not please explain what no change is)
or just the BN3:BN277 range?
=SUM(--(FREQUENCY(IF(B3:B277<>"",IF(BN2:BN277<>"No Change",MATCH(B3:B277,B3:B277,0))),ROW(B3:B277)-ROW(B3)+1)>0))
=SUM(--(FREQUENCY(IF(B3:B277<>"",IF(BN3:BN277<>"No Change",MATCH(B3:B277,B3:B277,0))),ROW(B3:B277)-ROW(B3)+1)>0))
I tried entering this code, but it give me an N/A error.
Book1 | |||||
---|---|---|---|---|---|
B | C | D | |||
3 | 1443 | 1779 | 3 | ||
4 | 2752 | No Change | |||
5 | 2752 | No Change | |||
6 | 2752 | No Change | |||
7 | 33445 | 33448 | |||
8 | |||||
9 | 33445 | 33448 | |||
10 | 33445 | 33448 | |||
11 | 744 | No Change | |||
12 | 1234 | 1244 | |||
Sheet1 |
Cell Formulas | ||
---|---|---|
Range | Formula | |
D3 | {=SUM(--(FREQUENCY(IF(B3:B16<>"No Change",C3:C16),C3:C16)>0))} | |
Press CTRL+SHIFT+ENTER to enter array formulas. |