Dim Counter as Double
Dim cellNum, Cycle as Integer
cellNum = 1
for Cycle = 0 to UBound(y)
if y(Cycle).Value < 0 then
Cells(2,cellNum).Value = y(Cycle).Value
cellNum = cellNum + 1
Counter = Counter + y(Cycle).value
End if
next Cycle