This will take you to the VBA code editor. I used the find & replace technique, it was a brilliant idea. 3. In the 'Sort by' option, select the name of the column that just has the last name In the 'Sort On', select 'Cell Values' In the Order option, select 'A to Z' Click OK The above steps would sort the entire selected dataset based on the last name. Then click on the Sort button on the Data tab of the menu. Excel allows you to perform a sort by a custom order, but you need to develop the order. } It seems that what you want to do is to first arrange the names in date order, then sort by this custom name order, and then by date. Alphabetical sorting means to sort names according to alphabet order starting from the rightmost character. The first tap selects the column, the second tap brings up a menu. To illustrate the procedures, here is a sample dataset of 10 persons with Full Name in the Cell range B5:B14. This can be done using a VBA macro. Arranging Names with details Alphabetically At times, when you sort the names Alphabetically the details may mess up. In this video, I will show you three easy ways to sort the names data based on the last name.The following three methods are covered in this video:1.