Hi guys. I'm having problems working out how to use a COUNTIF statement to tell me how many cells in a given range satisfy a certain condition that is somewhat more complicated than those that I'm used to (e.g >5, 7, "apples"). Specifically, I wan't to know how many cells are solutions to x=2(mod7). I'm wondering if there is a way to say something like COUNTIF(range, 'some expression involving x where x refers to all cells in the given range'), so I could do things like COUNTIF(range, x^2+4x=0) to tell me how many cells satisfy that equation. Hopefully the above will make some sense to someone and they'll be able to help! Thanks.
Koenigs
Koenigs