angeloudaki
New Member
- Joined
- Jul 7, 2015
- Messages
- 46
Using cell references only, how would I count the number of times a value appears in a range and also matches another (fixed) criteria?
Example: I want to know how many times the value in H3 (table2) appears in table1range B2:D15 where their SS7 code is also the same as that in J1 (table2)
I used:
but this returns a
error
Table1:
<colgroup><col><col><col span="3"></colgroup><tbody>
</tbody>
Table2
<colgroup><col><col><col span="4"></colgroup><tbody>
</tbody>
Thanks in advance!
Jen
Example: I want to know how many times the value in H3 (table2) appears in table1range B2:D15 where their SS7 code is also the same as that in J1 (table2)
I used:
Code:
=COUNTIFS(C3:E16,H4,B3:B16,J2)
Code:
#VALUE!
Table1:
A | B | C | D | |
1 | Module | Staff 1 | Staff 2 | Staff 3 |
2 | SS7100 | PERSON1 | PERSON2 | |
3 | SS7100 | PERSON3 | PERSON2 | |
4 | SS7300 | PERSON3 | PERSON5 | PERSON6 |
5 | SS7100 | PERSON4 | ||
6 | SS7100 | PERSON2 | PERSON4 | PERSON6 |
7 | SS7400 | PERSON2 | ||
8 | SS7200 | PERSON3 | ||
9 | SS7200 | PERSON1 | PERSON6 |
<colgroup><col><col><col span="3"></colgroup><tbody>
</tbody>
Table2
H | I | J | K | L | |
1 | Name | SS7100 | SS7200 | SS7300 | SS7400 |
2 | PERSON0 | ||||
3 | PERSON1 | ??? | |||
4 | PERSON3 | ||||
5 | PERSON4 |
<colgroup><col><col><col span="4"></colgroup><tbody>
</tbody>
Thanks in advance!
Jen