I have info in 2 columns, one contains nine (9) different Provinces names all in different order and the Other Genders (male or females), also in varying order, In another column ....I want to put in a formula that could tell me for the Province of Ontario say, how many males there are and in another column....How many females and I want to be able to do this for all the provinces...........I thought an IFCOUNT formula would work, but I am having no luck can anyone help me please
<table x:str="" style="border-collapse: collapse; width: 138pt;" width="183" border="0" cellpadding="0" cellspacing="0"><col style="width: 34pt;" width="45"> <col style="width: 80pt;" width="106"> <col style="width: 24pt;" width="32"> <tbody><tr style="height: 40.5pt;" height="54"> <td class="xl27" style="height: 40.5pt; width: 34pt;" width="45" height="54">Prov</td> <td class="xl26" style="border-left: medium none; width: 80pt;" width="106">Child’s Given Name</td> <td class="xl27" style="border-left: medium none; width: 24pt;" width="32">Sex</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl28" style="height: 15.75pt; width: 34pt;" width="45" height="21">MB</td> <td class="xl25" style="border-left: medium none; width: 80pt;" width="106">Colter Vance James Charles</td> <td class="xl25" style="border-left: medium none; width: 24pt;" width="32">M</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl31" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">NL</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Mikhail Evdokimov</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">M</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl30" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">NW</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Jessica Caroline Cordeiro</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl30" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">NW</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Jeferson Amauri Cordeiro</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">M</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl30" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">NW</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Juliane Do Rocio Cordeiro</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl29" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">AB</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Tsebaot</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl29" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">AB</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Rediet</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl28" style="height: 15.75pt; width: 34pt;" width="45" height="21">MB</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Haimanot Awoke</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> </tbody></table>
<table x:str="" style="border-collapse: collapse; width: 138pt;" width="183" border="0" cellpadding="0" cellspacing="0"><col style="width: 34pt;" width="45"> <col style="width: 80pt;" width="106"> <col style="width: 24pt;" width="32"> <tbody><tr style="height: 40.5pt;" height="54"> <td class="xl27" style="height: 40.5pt; width: 34pt;" width="45" height="54">Prov</td> <td class="xl26" style="border-left: medium none; width: 80pt;" width="106">Child’s Given Name</td> <td class="xl27" style="border-left: medium none; width: 24pt;" width="32">Sex</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl28" style="height: 15.75pt; width: 34pt;" width="45" height="21">MB</td> <td class="xl25" style="border-left: medium none; width: 80pt;" width="106">Colter Vance James Charles</td> <td class="xl25" style="border-left: medium none; width: 24pt;" width="32">M</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl31" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">NL</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Mikhail Evdokimov</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">M</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl30" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">NW</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Jessica Caroline Cordeiro</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl30" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">NW</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Jeferson Amauri Cordeiro</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">M</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl30" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">NW</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Juliane Do Rocio Cordeiro</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl29" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">AB</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Tsebaot</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl29" style="border-top: medium none; height: 15.75pt; width: 34pt;" width="45" height="21">AB</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Rediet</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> <tr style="height: 15.75pt;" height="21"> <td class="xl28" style="height: 15.75pt; width: 34pt;" width="45" height="21">MB</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 80pt;" width="106">Haimanot Awoke</td> <td class="xl24" style="border-top: medium none; border-left: medium none; width: 24pt;" width="32">F</td> </tr> </tbody></table>