Excel Function

Job ID: 33193407

Budget: $10 – $30 USD

I have an excel file that I need to edit one function.
the functions are related to cells X6 through X12.
the used function is the following:

=SUMPRODUCT(SUBTOTAL(3,OFFSET(Table5[% Min A],ROW(Table5[% Min A])-MIN(ROW(Table5[% Min A])),,1)),--(0.0025<=Table5[% Min A]<0.0035))

but wrong values appear
X6 should give me the frequency of numbers less than or equal -0.0025 and larger than -0.0035
X7 should give me the frequency of numbers less than or equal -0.0015 and larger than -0.0025
X8 should give me the frequency of numbers less than or equal -0.0005 and larger than -0.0015
X9 should give me the frequency of numbers less than or equal 0.0005 and larger than -0.0005
X10 should give me the frequency of numbers less than or equal 0.0015 and larger than -0.0005
X11 should give me the frequency of numbers less than or equal 0.0025 and larger than 0.0015
X12 should give me the frequency of numbers less than or equal 0.0035 and larger than 0.0025
Results should give the frequencies on the numbers in Table5[% Min A] (i.e. AH column)