This is getting pretty detailed, and I understand if it has become overly complex without being able to show the actual values.
Here is a scenario I just created to hopefully illustrate what the issue I am having is.
---------------------------
I have the following list of part numbers.
I will be recording the frequency/number of times a certain part number appears and the bin/value of the occurrence.
I am using the following formula to target the number of times Part# 12345678-04 appears:
Code:
=COUNTIFS($A$2:$A$19,"12345678-04",$B$2:$B$19,">=" &C2-4.99,$B$2:$B$19,"<" & C2+4.99)
This code is mimicked with the corresponding C values all the way down column D.
As you can see, all looks well, except the part number that appears at cell A16.
For some reason, cell A16 is being ignored (is not appearing in the Part Frequency list).
Notice how Part# 12345678-04 appears 3 times in Column A.
However, it is only being accounted for 2 times in Column D.
(A value of 1 should appear at Cell D10)
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD][/TD]
[TD]A
[/TD]
[TD="align: center"]B
[/TD]
[TD="align: center"]C
[/TD]
[TD="align: center"]D
[/TD]
[/TR]
[TR]
[TD]1
[/TD]
[TD]
Part Number
[/TD]
[TD="align: center"]
Part Performance
[/TD]
[TD="align: center"]
Bin
[/TD]
[TD="align: center"]
Part Frequency
[/TD]
[/TR]
[TR]
[TD]2
[/TD]
[TD]12345678-01
[/TD]
[TD="align: center"]81
[/TD]
[TD="align: center"]0
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]3
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-03
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]27
[/TD]
[TD="align: center"]10
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]4
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-02
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]83
[/TD]
[TD="align: center"]20
[/TD]
[TD="align: center"]1
[/TD]
[/TR]
[TR]
[TD]5
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-04
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]21
[/TD]
[TD="align: center"]30
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]6
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-01
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]5
[/TD]
[TD="align: center"]40
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]7
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-03
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]86
[/TD]
[TD="align: center"]50
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]8
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-04
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]92
[/TD]
[TD="align: center"]60
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]9
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-02
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]13
[/TD]
[TD="align: center"]70
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]10
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-03
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]30
[/TD]
[TD="align: center"]80
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]11
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-01
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]1
[/TD]
[TD="align: center"]90
[/TD]
[TD="align: center"]1
[/TD]
[/TR]
[TR]
[TD]12
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-02
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]53
[/TD]
[TD="align: center"]100
[/TD]
[TD="align: center"]0
[/TD]
[/TR]
[TR]
[TD]13
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-03
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]81
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]14
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-01
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]94
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]15
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-02
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]58
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]16
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-04
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]80
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]17
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-01
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]73
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]18
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-02
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]31
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]19
[/TD]
[TD][TABLE="width: 96"]
<colgroup><col style="text-align: center;" width="96"></colgroup><tbody>[TR]
[TD="class: xl65, width: 96"]12345678-03
[/TD]
[/TR]
</tbody>[/TABLE]
[/TD]
[TD="align: center"]66
[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]