Let's say this other column is J and you put low value (0) in C5 and high value (3) in D5. Just add those condtions to your existing formula.
=(SUMPRODUCT(($H$17:$H$5000>=A5)*($H$17:$H$5000<=B5)*($J$17:$J$5000>$C$5)*($J$17:$J$5000 <= $D$5)*($D$17:$D$5000))
Does that work?
Bookmarks