'this is for the loop variable
Dim i As Integer
'this will be the target range
Dim r As Range
'this will be the target row
Dim rw As String
'this is the beginning constant portion of the formula
Dim str1 As String
'this is the ending portion of the formula that changes
Dim str2 As String
'this makes the target start at row 2
'change this as necessary for the row that you want it to start on
rw = 2
'this is just the beginning portion of your formula
str1 = "=Countif(A2:A30,"
'this for loop sets i to start at the value of 10, changes by +10 (Step 10) for each iteration until it = 360
For i = 10 To 360 Step 10
'this sets the target cell to be "C" column at the row that the rw is set to
Set r = Range("C" & rw)
'this sets the variable equal to the first portion of your formula
'the & i adds the value of i, which starts at 10 and goes up in increments of 10
str2 = str1 & i & ")/(2199)"
'this puts the formula in the target cell
r.Formula = str2
'this advances the target to the next row
rw = rw + 1
Next i