I am currently using the following formula
It works but is messy.PHP Code:
=SUMPRODUCT(--(H9:H17=(F9:F17+2))*(H9:H17<>""))+SUMPRODUCT(--(H9:H17=(F9:F17+3))*(H9:H17<>""))+SUMPRODUCT(--(H9:H17=(F9:F17+4))*(H9:H17<>""))+SUMPRODUCT(--(H9:H17=(F9:F17+5))*(H9:H17<>""))
I was hoping for something like SUMPRODUCT(--(H9:H17=(F9:F17+=<2))*(H9:H17<>"")) but this is rejected by excel as not valid.
Is there a simpler way of counting the number of times cell H9 to H17 exceeds it conterpart in column F by more than 2?
I can provide a worksheet if possible.
I have googled and used Bingchat but not found the round solution.
Bookmarks