- I was trying to use the COUNTIF function on two sheets.
<table border="0" cellspacing="0" cols="2" frame="VOID" rules="NONE"> <colgroup><col width="86"><col width="86"></colgroup> <tbody> <tr> <td style="border: 1px solid rgb(0, 0, 0);" width="86" align="LEFT" height="17">Alpha</td> <td style="border: 1px solid rgb(0, 0, 0);" width="86" align="LEFT">returns the count of "Alpha"(A1), when it is not equal to "c"
</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Beta</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">
</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Gamma</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">
</td> </tr> </tbody> </table>
Sheet 2
<table border="0" cellspacing="0" cols="2" frame="VOID" rules="NONE"> <colgroup><col width="86"><col width="86"></colgroup> <tbody> <tr> <td style="border: 1px solid rgb(0, 0, 0);" width="86" align="LEFT" height="17">Alpha</td> <td style="border: 1px solid rgb(0, 0, 0);" width="86" align="LEFT">c</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Alpha</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">c</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Gamma</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">c</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Beta</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">
</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Alpha</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">
</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Gamma</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">
</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Gamma</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">
</td> </tr> </tbody> </table>
My current attempt was this:
=COUNTIF(Sheet2.$A$1:$A$99;A1 & Sheet2.B1:B7 != 'c')
2.
<table border="0" cellspacing="0" cols="2" frame="VOID" rules="NONE"> <colgroup><col width="86"><col width="86"></colgroup> <tbody> <tr> <td style="border: 1px solid rgb(0, 0, 0);" width="86" align="LEFT" height="17">Alpha</td> <td style="border: 1px solid rgb(0, 0, 0);" width="86" align="LEFT">finds the correlating number of the multiple instances and adds the together.
</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Beta</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">
</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Gamma</td> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT">
</td> </tr> </tbody> </table>
<table border="0" cellspacing="0" cols="2" frame="VOID" rules="NONE"> <colgroup><col width="86"><col width="86"></colgroup> <tbody> <tr> <td style="border: 1px solid rgb(0, 0, 0);" width="86" align="LEFT" height="17">Alpha</td> <td style="border: 1px solid rgb(0, 0, 0);" width="86" align="RIGHT">3</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Alpha</td> <td style="border: 1px solid rgb(0, 0, 0);" align="RIGHT">4</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Gamma</td> <td style="border: 1px solid rgb(0, 0, 0);" align="RIGHT">6</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Beta</td> <td style="border: 1px solid rgb(0, 0, 0);" align="RIGHT">7</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Alpha</td> <td style="border: 1px solid rgb(0, 0, 0);" align="RIGHT">2</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Gamma</td> <td style="border: 1px solid rgb(0, 0, 0);" align="RIGHT">5</td> </tr> <tr> <td style="border: 1px solid rgb(0, 0, 0);" align="LEFT" height="17">Gamma</td> <td style="border: 1px solid rgb(0, 0, 0);" align="RIGHT">3</td> </tr> </tbody> </table>
In example the function would find A1, A2, & A5 equal to "Alpha" and add 3, 4, 2 together resulting in 9.
Also, what if I wanted to list the results instead of add them? Like My result would be '3,4,2'.
Thanks.