I am not sure if what you currently have in the table is supposed to be correct or not...but there are inconsistencies based on your descriptions above.
First, only the top row has a condition to check for -1 (negative), then remaining rows show 1 (positive).
In some sections of the table, both ranges in the formula change in both directions... To me every column in each row should have the same first range as the first column, and every row in each column should have the same second range as the first row... as per my understanding of your description.
See attached.
In V54:
copied across row 54.
then in V55:
copied down and across the rest of the matrix.
Note: These can be adapted to COUNTIFS formulas too.
and
Bookmarks