In cell G1 and G2 you input the x or y coordinates. In cell G6 it displays the count(s) x,y coordinates from range A2:D4. How do you write the count formula in cell G6? If there is only one x,y coordinate it displays a 1. If the x,y coordinate does not exist in the range, then it displays a 0.