A macro way.
Option Explicit
Sub ShiftPhoneNumber()
Dim lastrow As Long
Dim icell As Long
lastrow = Range("A" & Rows.Count).End(xlUp).Row
Application.ScreenUpdating = False
For icell = 2 To lastrow
If IsEmpty(Range("D" & icell)) Then
If IsEmpty(Range("E" & icell)) Then
If IsEmpty(Range("F" & icell)) Then
Range("G" & icell).Cut Destination:=Range("D" & icell)
Else
Range("F" & icell, "G" & icell).Cut Destination:=Range("D" & icell)
End If
Else
Range("E" & icell, "G" & icell).Cut Destination:=Range("D" & icell)
End If
Else
End If
Next icell
Application.ScreenUpdating = True
Application.CutCopyMode = False
End Sub
Bookmarks