Ahoj, ako toto zopakujem 52 krát, s tým, že výsledky budú v "F3" a F4", "I3" a "I4"...:
Sub SumBlack()
c3 = 0
cerna = 0
For n = 7 To 1000
barva = Range("b" & n).Font.Color
hodnota = Range("b" & n)
If Not IsNumeric(hodnota) Then hodnota = 0
If barva = cerna Then c3 = c3 + hodnota
Next
Range("c4") = c4
c4 = 0
cerna = 0
For n = 7 To 1000
barva = Range("c" & n).Font.Color
hodnota = Range("c" & n)
If Not IsNumeric(hodnota) Then hodnota = 0
If barva = cerna Then c4 = c4 + hodnota
Next
Range("c4") = c4
End Sub