Is it possible to merge several vertices at once? I wanted to ask if it is possible to merge several vertices at once? like not having to select the two single vertices that I want to merge everytime and then merging them manually but rather select a bunch of vertices at one?

what I have:


what I want:
Make a selection including the vertices you want to merge, but not including other vertices which are close to one another that you don't want to merge, vertex menu CtrlV > 'Remove Doubles', adjust 'Merge Distance' in the toolbar.