Can you perform a "countif" statement by using 2 conditions?
I tried using the same format as I would use in an "if statement" but I bget an error.
My code that I used is as follows
=counmtif(A1:a9,"20001") gives me 2
Now I want to include another condition of the zip code 20003.
=countif(and(A1:A9,"20001","20003") should give me 5
A
1. 20001
2. 20003
3. 20004
4. 20005
5. 20003
6. 20001
7. 20003
8. 20005
9. 20004
I tried using the same format as I would use in an "if statement" but I bget an error.
My code that I used is as follows
=counmtif(A1:a9,"20001") gives me 2
Now I want to include another condition of the zip code 20003.
=countif(and(A1:A9,"20001","20003") should give me 5
A
1. 20001
2. 20003
3. 20004
4. 20005
5. 20003
6. 20001
7. 20003
8. 20005
9. 20004