A macro alternative:
Sub chrisellis250()
Dim i As Long, y, textrange As Range
With Application
.Calculation = xlCalculationManual
.ScreenUpdating = False
End With
Rows(1).Insert
Cells(1, "A") = "Business Name"
Cells(1, "B") = "Street"
Cells(1, "C") = "City"
Cells(1, "D") = "State"
Cells(1, "E") = "Telephone"
ReDim y(2 To Range("A" & Rows.Count).End(3).row)
For i = UBound(y) To LBound(y) Step -1
If Cells(i, "A") Like "*eview*" Then Rows(i).Delete
If Cells(i, "A") Like "*Phone*" Then Rows(i + 1).Insert
Next i
Rows(2).Insert
For Each textrange In Range("A2:A" & Range("A" & Rows.Count).End(3).row).SpecialCells(2, 2).Areas
addr = textrange.Address(False, False)
For i = 2 To 3
Select Case i
Case Is = 2
Range(addr).Item(i, 1).Copy Range(addr).Item(i, 2)
Range(addr).Item(i, 2).TextToColumns Range(addr).Item(i, 2), xlDelimited, xlDoubleQuote, False, True, False, False, False, True, ","
Case Is = 3
Range(addr).Item(i, 1).Copy Range(addr).Item(i, 5)
End Select
Next i
With Range(addr)
.Resize(, 5).SpecialCells(4).Delete xlUp
.Offset(1).Resize(3, 5).Delete xlUp
End With
Next textrange
Rows(2).Delete
Columns(1).Resize(, 5).EntireColumn.AutoFit
With Application
.Calculation = xlCalculationAutomatic
.ScreenUpdating = True
End With
End Sub
Bookmarks