I would like to loop through cells in column A and if a cell is blank perform the CONCATENATE function in column C from column B. I have this code but it is not working. Any help would be greatly appreciated.
Sub ConcateBlank()
For i = 3 To 400
If Cells(i, 1) = "" Then
Cells(i, 3) = CONCATENATE(Cells(i, 2), " ", Cells(i + 1, 2))
End If
Next i
End Sub
CONCATENATE(Cells(i, 2), " ", Cells(i + 1, 2))– Máté Juhász Nov 14 '16 at 12:27