Hello everone,

i want to Count Frequencies of the measured values in areas.

When he should write in Row 55 für the Value 0.2,
he over jump this if-case:

 If sheet.Cells(ReadRow, ZSwrite(1)) <= sheet.Cells(WriteRow, ZSwrite(1)) Then            
            holderForMyself = sheet.Cells(WriteRow, WriteReadColumn + 1)
            sheet.Cells(WriteRow, WriteReadColumn + 1) = CInt(sheet.Cells(ReadRow, WriteReadColumn + 1)) + holderForMyself
 End If
While the left and Right side in the if-condition is the same, he over pass the if-case.

Hope you know where the error comes from.

Mappe1.xlsb