An example of your data would help but does this work? Row 7 gets highlighted.
| A | B | C |
---|
Animal 1 | Animal 2 | Number | |
Dog | Mole | | |
Sheep | Cat | | |
Dog | Cat | | |
Goat | Sheep | | |
Mole | Goat | | |
Dog
| Cat | | |
Dog | Cat | | |
<tbody>
[TD="align: center"]1[/TD]
[TD="align: center"]2[/TD]
[TD="align: right"]2[/TD]
[TD="align: center"]3[/TD]
[TD="align: right"]4[/TD]
[TD="align: center"]4[/TD]
[TD="align: right"]6
[/TD]
[TD="align: center"]5[/TD]
[TD="align: right"]8[/TD]
[TD="align: center"]6[/TD]
[TD="align: right"]22[/TD]
[TD="align: center"]7[/TD]
[TD="align: right"]
44
[/TD]
[TD="align: center"]8[/TD]
[TD="align: right"]33[/TD]
</tbody>