Columns("B:C").ColumnWidth = 22
Range("A1").Value = "Number"
Range("B1").Value = "Square of the Number"
Range("C1").Value = "Square root of the Number"
For i = 2 To 17
If Cells(i, 1).Interior.Color <> RGB(178, 178, 178) Then
Cells(i, 1).Interior.Color = RGB(178, 178, 178)
Cells(i, 1).Value = i - 1
Cells(i, 2).Value = (i - 1) ^ 2
Cells(i, 3).Value = (i - 1) ^ 0.5
Exit For
End If
Next