Managed to get a solution. Solved
I am trying to as you type into certain cells it merges with the next cell next to it.
Therefore If E1 contains Kayaking or SUP or Canoeing or (keep going etc for a several more) it merges E1 to E2.
These ranges would be in several rows down in several columns.
If specific text found in a row in column E, merge with column F
If specific text found in a row in column I, merge with column J
If specific text found in row in column M, merge with column N etc
I have written a macro that does this, however would like to do it when you type into a cell so it shows. I know merging cells keeps the left most information, the cell to right would be blank anyway.
I found an old post, cannot remember where now that had a similar problem, but this merges only when you click left and not enter is pressed and I am struggling to adapt it. The code is below.
For Each rw In Selection.Rows
If Cells(rw.Row, 1) = 5 Then 'column A of each row
Range(Cells(rw.Row, 3), Cells(rw.Row, 6)).Merge
End If
Next rw
End Sub
Bookmarks