I am trying to get a simple count from this formula in a cell that is formatted general I het #VALUE! error. I change the format of the cell to number but come up w/ the same error.

Formula:

=SUMPRODUCT((J4:J98="x")*(CV4:CV98="M")*(CW4:CW98>=0)*(CW4:CW98<=19))