{"id":5442,"date":"2023-03-16T16:00:02","date_gmt":"2023-03-16T16:00:02","guid":{"rendered":"https:\/\/www.bizinfograph.com\/resource\/?p=5442"},"modified":"2024-05-22T13:40:50","modified_gmt":"2024-05-22T13:40:50","slug":"how-to-alphabetize-by-last-name-in-excel","status":"publish","type":"post","link":"https:\/\/www.bizinfograph.com\/resource\/how-to-alphabetize-by-last-name-in-excel\/","title":{"rendered":"How to Alphabetize by last name in Excel?"},"content":{"rendered":"<p>Alphabetize by last name in Excel to streamline your data organization and enhance the clarity of your lists. Whether you\u2019re managing contact lists, employee records, or any dataset that includes names, sorting by last name ensures a more intuitive and professional presentation. Say goodbye to manually sorting names and hello to efficient, accurate organization with Excel\u2019s powerful sorting capabilities. By alphabetizing by last name in Excel, you make your data more accessible and easier to navigate, facilitating quicker lookups and better data management. Take control of your datasets and improve your workflow by leveraging Excel\u2019s sorting features. With just a few clicks, you can create neatly organized lists that enhance productivity and ensure data accuracy. Embrace the efficiency and precision of alphabetizing by last name in Excel and elevate your data handling to new heights.<\/p>\n<p><strong>This Tutorial Covers:<\/strong><\/p>\n<ol>\n<li><a href=\"#using-find-and-replace,-extract-and-sort-by-last-name\"><strong>Using Find and Replace, extract and sort by last name<\/strong><\/a><\/li>\n<li><a href=\"#utilizing-a-formula,-extract-and-alphabetize-last-names\"><strong>Utilizing a formula, extract and alphabetize last names<\/strong><\/a><\/li>\n<li><a href=\"#how-to-use-text-to-columns\"><strong>How to Use Text to Columns<\/strong><\/a><\/li>\n<li><a href=\"#utilizing-flash-fill\"><strong>Utilizing Flash Fill<\/strong><\/a><\/li>\n<li><a href=\"#using-power-query,-dynamically-sort-by-last-name-and-extract\"><strong>Using Power Query, dynamically sort by last name and extract<\/strong><\/a><\/li>\n<li><a href=\"#additional-advice\"><strong>Additional Advice<\/strong><\/a><\/li>\n<\/ol>\n<h2><strong id=\"using-find-and-replace,-extract-and-sort-by-last-name\">1. Using Find and Replace, extract and sort by last name<\/strong><\/h2>\n<p>Getting the last name in a distinct column is the first step in sorting by the last name.<\/p>\n<p>To achieve this, simply leave the space before the last name vacant, leaving only the last name remaining.<\/p>\n<p>Assume you want to arrange the data in the dataset as shown below alphabetically by last name.<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5444\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-1.png\" alt=\"Alphabetize by last name\" width=\"176\" height=\"267\" \/><\/p>\n<p><strong>How to sort by the last name in<\/strong><strong> excel:<\/strong><\/p>\n<p><strong>Step 1:<\/strong> Choose the file with the header included.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" class=\"aligncenter size-full wp-image-5445\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-2.png\" alt=\"Alphabetize by last name \" width=\"329\" height=\"284\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-2.png 329w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-2-300x259.png 300w\" sizes=\"(max-width: 329px) 100vw, 329px\" \/><\/p>\n<p><strong>Step 2:<\/strong> In the neighboring column, duplicate it (if the adjacent column is not empty, insert a new column and then copy these names)<\/p>\n<p><img decoding=\"async\" class=\"aligncenter size-full wp-image-5446\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-3.png\" alt=\"Alphabetize by last name\" width=\"281\" height=\"279\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-3.png 281w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-3-150x150.png 150w\" sizes=\"(max-width: 281px) 100vw, 281px\" \/><\/p>\n<p><strong>Step 3:<\/strong> Give the copied column heading a new name. I&#8217;ll use &#8220;Last Name&#8221; as an illustration.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5447\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-4.png\" alt=\"Alphabetize by last name\" width=\"392\" height=\"265\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-4.png 392w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-4-300x203.png 300w\" sizes=\"(max-width: 392px) 100vw, 392px\" \/><\/p>\n<p><strong>Step 4:<\/strong> Don&#8217;t pick the header; instead, select each of the copied names.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5448\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-5.png\" alt=\"Alphabetize by last name \" width=\"423\" height=\"273\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-5.png 423w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-5-300x194.png 300w\" sizes=\"(max-width: 423px) 100vw, 423px\" \/><\/p>\n<p><strong>Step 5:<\/strong> Press the H key while keeping the Control key depressed. The Find and Replace dialog window will then be displayed.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5449\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-6.png\" alt=\"Alphabetize by last name\" width=\"643\" height=\"251\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-6.png 643w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-6-300x117.png 300w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/p>\n<p><strong>Step 6:<\/strong> Enter * in the Find What box (asterisk symbol followed by a space character).<\/p>\n<p>Fill in nothing in the Replace with box. Simply select Substitute All. All of the first names would be immediately replaced by this, leaving you with only last names.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5450\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-7.png\" alt=\"Alphabetize by last name\" width=\"463\" height=\"200\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-7.png 463w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-7-300x130.png 300w\" sizes=\"(max-width: 463px) 100vw, 463px\" \/><\/p>\n<p>The procedures mentioned above would retain the last name and eliminate everything else. Even if you have given names or prefixes, this still works (such as Mr. or Ms).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5451\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-8.png\" alt=\"Alphabetize by last name\" width=\"327\" height=\"293\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-8.png 327w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-8-300x269.png 300w\" sizes=\"(max-width: 327px) 100vw, 327px\" \/><\/p>\n<p>You can quickly sort the dataset (including the complete names) alphabetically based on the last name once you have the last names in the adjacent column.<\/p>\n<p><strong>The methods to get last name and<\/strong> <strong>sort by last name are as follows:<\/strong><\/p>\n<p><strong>Step 1:<\/strong> The complete dataset with headers should be chosen (including the full names and the extracted last names). Along with the names, you can also include other columns you want to arrange by.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5452\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-9.png\" alt=\"Alphabetize by last name\" width=\"431\" height=\"269\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-9.png 431w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-9-300x187.png 300w\" sizes=\"(max-width: 431px) 100vw, 431px\" \/><\/p>\n<p><strong>Step 2:<\/strong> On the \u201cData\u201d tab, click. Select \u201cSort\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5453\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-10.png\" alt=\"Alphabetize by last name\" width=\"641\" height=\"102\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-10.png 641w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-10-300x48.png 300w\" sizes=\"(max-width: 641px) 100vw, 641px\" \/><\/p>\n<p><strong>Step 3:<\/strong> Make sure &#8220;My data has headers&#8221; is selected in the Sort dialog window. Choose the name of the column that only contains the &#8220;Last Name&#8221; as the &#8220;Sort by&#8221; choice. Choose &#8220;Cell Values&#8221; for the &#8220;Sort On&#8221; option. Choose &#8220;A to Z&#8221; under the Order option. Select OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5454\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-11.png\" alt=\"Alphabetize by last name\" width=\"592\" height=\"272\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-11.png 592w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-11-300x138.png 300w\" sizes=\"(max-width: 592px) 100vw, 592px\" \/><\/p>\n<p>The aforementioned procedures would use last names to order the complete selected dataset.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5455\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-12.png\" alt=\"Alphabetize by last name \" width=\"297\" height=\"268\" \/><\/p>\n<p>Once finished, you can remove the last name section.<\/p>\n<p><strong>Pro tip:<\/strong> You should have a method to un-sort this dataset if you ever believe you might need the original data back. To accomplish this, place serial numbers in a column to the left or right of the sorting, close to it. Now, if you need the original info back, sorting by numbers will give it to you.<\/p>\n<h2><strong id=\"utilizing-a-formula,-extract-and-alphabetize-last-names\">2. Utilizing a formula, extract and alphabetize last names<\/strong><\/h2>\n<p>Even though I prefer the above approach (using Find and Replace to get all the last names and sort them), it has the drawback of producing static data.<\/p>\n<p>The procedure will have to be repeated in order to obtain the last names if I add more names to my list.<\/p>\n<p>Use the formula technique to sort the data by last names if you don&#8217;t want this to happen.<\/p>\n<p>Assume you possess the information depicted below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5456\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-13.png\" alt=\"Alphabetize by last name\" width=\"176\" height=\"268\" \/><\/p>\n<p>The following formula will extract last name in excel:<\/p>\n<p><strong>=RIGHT(A2,LEN(A2)-FIND(&#8221; &#8220;,A2))<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5457\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-14.png\" alt=\"Alphabetize by last name\" width=\"429\" height=\"258\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-14.png 429w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-14-300x180.png 300w\" sizes=\"(max-width: 429px) 100vw, 429px\" \/><\/p>\n<p>The formula above depends on a pattern with a complete name (that contains only the first and last name in this example). Between the first and last word, there will typically be a space character.<\/p>\n<p>To determine the location of the space character, use the FIND feature. The overall number of characters in the last name is then calculated by subtracting this value from the length of the name as a whole.<\/p>\n<p>The RIGHT function uses this number to obtain the last name after that.<\/p>\n<p>You can order this information once you have the last name section (this is covered in the first method in detail).<\/p>\n<p>If you only have first and last names, the method above would still be valid.<\/p>\n<p>What if you also go by your middle name?<\/p>\n<p>In this situation, you must apply the following formula:<\/p>\n<p><strong>=RIGHT(A2,LEN(A2)-FIND(&#8220;@&#8221;,SUBSTITUTE(A2,&#8221; &#8220;,&#8221;@&#8221;,LEN(A2)-LEN(SUBSTITUTE(A2,&#8221; &#8220;,&#8221;&#8221;)))))<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5458\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-15.png\" alt=\"Alphabetize by last name\" width=\"615\" height=\"224\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-15.png 615w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-15-300x109.png 300w\" sizes=\"(max-width: 615px) 100vw, 615px\" \/><\/p>\n<p>The last space character is located using the algorithm above, which is then used to extract the last name.<\/p>\n<p>The second formula is the one I advise using in all circumstances because it is more reliable and can manage any situation (as long as the last name is at the end of the name).<\/p>\n<p><strong>Note:<\/strong> It should be noted that these two formulas assume there is only one space character between each name part. This formula will produce false findings if there are leading or trailing spaces, or if there are double spaces. In this situation, it is best to first remove any leading, trailing, and double spaces using the TRIM function before applying the aforementioned algorithm.<\/p>\n<p>Using a formula has the advantage of making the results dynamic, despite the fact that it may seem like a complex technique. If you want to get the last name for additional people on your list, just copy the formula.<\/p>\n<h2><strong id=\"how-to-use-text-to-columns\">3. How to Use Text to Columns?<\/strong><\/h2>\n<p>Once more, using Text to Columns in Excel to divide cells is quick and straightforward.<\/p>\n<p>To divide the content of the cell, you can indicate the delimiter (such as a comma or space). Once the split elements are in distinct columns, you can alphabetize the data using the column containing the last name.<\/p>\n<p>Assume you have the information as follows:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5459\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-16.png\" alt=\"Alphabetize by last name\" width=\"176\" height=\"266\" \/><\/p>\n<p><strong>The procedures for using Text to Column to arrange by last name are as follows:<\/strong><\/p>\n<p><strong>Step 1:<\/strong> Select the name-containing cells (excluding the header)<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5460\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-17.png\" alt=\"Alphabetize by last name\" width=\"335\" height=\"271\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-17.png 335w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-17-300x243.png 300w\" sizes=\"(max-width: 335px) 100vw, 335px\" \/><\/p>\n<p><strong>Step 2:<\/strong> On the \u201cData\u201d tab, click. Select the \u201cText to Columns\u201d option under the &#8220;Data Tools&#8221; group. The &#8220;Text to Columns tool&#8221; will then launch.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5461\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-18.png\" alt=\"Alphabetize by last name\" width=\"750\" height=\"105\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-18.png 750w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-18-300x42.png 300w\" sizes=\"(max-width: 750px) 100vw, 750px\" \/><\/p>\n<p><strong>Step 3:<\/strong> Select &#8220;Delimited&#8221; in Step 1 of the &#8220;Convert Text to Columns Wizard&#8221; and then hit &#8220;Next.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5462\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-19.png\" alt=\"Alphabetize by last name \" width=\"512\" height=\"421\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-19.png 512w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-19-300x247.png 300w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/p>\n<p><strong>Step 4:<\/strong> Click the Next option after choosing &#8220;Space&#8221; as the Delimiter in Step 2 (and unchecking anything else if it is checked).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5463\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-20.png\" alt=\"Alphabetize by last name\" width=\"511\" height=\"421\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-20.png 511w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-20-300x247.png 300w\" sizes=\"(max-width: 511px) 100vw, 511px\" \/><\/p>\n<p><strong>Step 5:<\/strong> In Step 3, choose the &#8216;Do not import columns (skip)&#8217; choice after selecting the first name column in the Data preview. This makes sure that only the last name is returned and that the first name is excluded. The cell that is next to the initial data should be used as the destination cell. By doing this, you can be certain that the initial names data and last name are received separately. Select \u201cFinish\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5464\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-21.png\" alt=\"Alphabetize by last name\" width=\"517\" height=\"421\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-21.png 517w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-21-300x244.png 300w\" sizes=\"(max-width: 517px) 100vw, 517px\" \/><\/p>\n<p>When you have the outcome, you can arrange it by last name.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5465\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-22.png\" alt=\"Alphabetize by last name\" width=\"224\" height=\"248\" \/><\/p>\n<h2><strong id=\"utilizing-flash-fill\">4. Utilizing Flash Fill<\/strong><\/h2>\n<p>Using the Flash Fill feature is another quick and easy method to get the last names.<\/p>\n<p>In Excel 2013, Flash Fill was launched, and it aids in data manipulation by spotting patterns. You must repeatedly display to Flash Fill the outcome you desire for this to function.<\/p>\n<p>It will finish the remainder of the work for you quickly after determining the pattern.<\/p>\n<p>Let&#8217;s say you have the names information listed below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5466\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-23.png\" alt=\"Alphabetize by last name\" width=\"237\" height=\"247\" \/><\/p>\n<p><strong>The procedures for using Flash Fill to obtain the last name and then arrange using it are listed below:<\/strong><\/p>\n<p><strong>Step 1:<\/strong> In column B2, type &#8220;Cooper&#8221; in the text field. You anticipate this outcome in the cage.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5467\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-24.png\" alt=\"Alphabetize by last name\" width=\"340\" height=\"303\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-24.png 340w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-24-300x267.png 300w\" sizes=\"(max-width: 340px) 100vw, 340px\" \/><\/p>\n<p><strong>Step 2:<\/strong> Enter the last name for the name in the adjacent column in the following cell(In this example, Davis).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5468\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-25.png\" alt=\"Alphabetize by last name\" width=\"286\" height=\"277\" \/><\/p>\n<p><strong>Step 3:<\/strong> Choose both of the spaces. Place the mouse over the selection&#8217;s bottom-right corner. The pointer will now be a plus sign, as you can see.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5469\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-26.png\" alt=\"Alphabetize by last name\" width=\"350\" height=\"239\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-26.png 350w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-26-300x205.png 300w\" sizes=\"(max-width: 350px) 100vw, 350px\" \/><\/p>\n<p><strong>Step 4:<\/strong> Simply hit it twice (or click and drag it down). You will see some results in the cells as a consequence (not likely to be the result you want).<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5470\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-27.png\" alt=\"Alphabetize by last name\" width=\"313\" height=\"292\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-27.png 313w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-27-300x280.png 300w\" sizes=\"(max-width: 313px) 100vw, 313px\" \/><\/p>\n<p><strong>Step 5:<\/strong> Select the symbol for AutoFill Options. Toggle \u201cFlash Fill\u201d on.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5471\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-28.png\" alt=\"Alphabetize by last name\" width=\"344\" height=\"309\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-28.png 344w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-28-300x269.png 300w\" sizes=\"(max-width: 344px) 100vw, 344px\" \/><\/p>\n<p>The outcome you get from this will probably be the last names in each column.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5472\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-29.png\" alt=\"Alphabetize by last name\" width=\"299\" height=\"265\" \/><\/p>\n<p>Though Flash Fill might not always function, I say &#8220;likely.&#8221; It might not always be able to do that because it relies on being able to recognize a pattern. Or occasionally, the pattern it discerns might not be the correct one.<\/p>\n<p>You can arrange the data based on last names once you have a column with all the last names in it.<\/p>\n<h2><strong id=\"using-power-query,-dynamically-sort-by-last-name-and-extract\">5. Using Power Query, dynamically sort by last name and extract<\/strong><\/h2>\n<p>The Power Query tool in Excel will be used in the final technique to automatically order the last names. Let&#8217;s examine its operation.<\/p>\n<p>Let&#8217;s say you have the names information listed below.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5473\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-30.png\" alt=\"Alphabetize by last name\" width=\"187\" height=\"257\" \/><\/p>\n<p><strong>The steps to sort by last name using Power Query are described below:<\/strong><\/p>\n<p><strong>Step 1:<\/strong> Choose the whole dataset first.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5474\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-31.png\" alt=\"Alphabetize by last name\" width=\"239\" height=\"236\" \/><\/p>\n<p><strong>Step 2:<\/strong> The keyboard&#8217;s <strong>Control + T<\/strong> keys together. After that, select the box next to \u201cMy table has headers\u201d in the \u201cCreate Table\u201d window and click OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5475\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-32.png\" alt=\"Alphabetize by last name \" width=\"382\" height=\"245\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-32.png 382w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-32-300x192.png 300w\" sizes=\"(max-width: 382px) 100vw, 382px\" \/><\/p>\n<p>You will therefore receive the information as a table that looks like this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5476\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-33.png\" alt=\"Alphabetize by last name\" width=\"189\" height=\"286\" \/><\/p>\n<p><strong>Step 3:<\/strong> Next, pick &#8220;From Table\/Range&#8221; from the &#8220;Get &amp; Transform Data&#8221; section on the &#8220;Data&#8221; tab.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5477\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-34.png\" alt=\"Alphabetize by last name \" width=\"643\" height=\"136\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-34.png 643w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-34-300x63.png 300w\" sizes=\"(max-width: 643px) 100vw, 643px\" \/><\/p>\n<p><strong>Step 4:<\/strong> You will consequently see the \u201cPower Query Editor\u201d interface. Right-click the first column in this box and choose \u201cDuplicate Column\u201d.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5478\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-35.png\" alt=\"Alphabetize by last name\" width=\"347\" height=\"345\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-35.png 347w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-35-300x298.png 300w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-35-150x150.png 150w\" sizes=\"(max-width: 347px) 100vw, 347px\" \/><\/p>\n<p><strong>Step 5:<\/strong> Then select &#8220;Split Column&#8221; under &#8220;Transform&#8221; from the list. Select &#8220;By Delimiter&#8221; from the drop-down option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5479\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-36.png\" alt=\"Alphabetize by last name\" width=\"394\" height=\"259\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-36.png 394w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-36-300x197.png 300w\" sizes=\"(max-width: 394px) 100vw, 394px\" \/><\/p>\n<p><strong>Step 6:<\/strong> The \u201cSplit Column by Delimiter\u201d box will then appear. Keep these choices as they are in the picture below and click OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5480\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-37.png\" alt=\"Alphabetize by last name\" width=\"287\" height=\"316\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-37.png 287w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-37-272x300.png 272w\" sizes=\"(max-width: 287px) 100vw, 287px\" \/><\/p>\n<p>The last names will then be displayed in a new section similar to this.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5481\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-38.png\" alt=\"Alphabetize by last name \" width=\"545\" height=\"264\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-38.png 545w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-38-300x145.png 300w\" sizes=\"(max-width: 545px) 100vw, 545px\" \/><\/p>\n<p><strong>Step 7:<\/strong> To remove the second column heading, right-click on it and select &#8220;Remove.&#8221;<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5482\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-39.png\" alt=\"Alphabetize by last name\" width=\"355\" height=\"282\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-39.png 355w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-39-300x238.png 300w\" sizes=\"(max-width: 355px) 100vw, 355px\" \/><\/p>\n<p><strong>Step 8:<\/strong> After that, choose &#8220;Sort Ascending&#8221; by clicking on the heading arrow of the &#8220;Full Name- Copy.2&#8221; column.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5483\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-40.png\" alt=\"Alphabetize by last name\" width=\"388\" height=\"356\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-40.png 388w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-40-300x275.png 300w\" sizes=\"(max-width: 388px) 100vw, 388px\" \/><\/p>\n<p><strong>Step 9:<\/strong> At last, click &#8220;Close &amp; Load To&#8221; underneath the &#8220;Home&#8221; option.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5484\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-41.png\" alt=\"Alphabetize by last name\" width=\"287\" height=\"213\" \/><\/p>\n<p><strong>Step 10:<\/strong> Therefore, in the &#8220;Import Data&#8221; dialogue box, choose the place to store the data and then click OK.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5485\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-42.png\" alt=\"Alphabetize by last name\" width=\"316\" height=\"277\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-42.png 316w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-42-300x263.png 300w\" sizes=\"(max-width: 316px) 100vw, 316px\" \/><\/p>\n<p>The names will then appear alongside the initial dataset, sorted by last names. Here, all last name are sorted by alphabetically.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-5486\" src=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-43.png\" alt=\"Alphabetize by last name\" width=\"314\" height=\"281\" srcset=\"https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-43.png 314w, https:\/\/www.bizinfograph.com\/resource\/wp-content\/uploads\/2023\/03\/Alphabetize-by-last-name-43-300x268.png 300w\" sizes=\"(max-width: 314px) 100vw, 314px\" \/><\/p>\n<h2><strong id=\"additional-advice\">6. Additional Advice<\/strong><\/h2>\n<ul>\n<li>The Flash Fill technique may not always be successful because it relies on pattern recognition. If this issue occurs, replicate the desired outcome in one or two additional cells.<\/li>\n<li>Make sure there are no extra spaces in your initial dataset. If not, it will go back to a vacant cell.<\/li>\n<\/ul>\n<h2>Application of Alphabetize by last name in Excel<\/h2>\n<ul>\n<li><strong>Contact Lists<\/strong>: Alphabetize contact lists by last name in Excel to ensure that entries are easy to find and access, making communication more efficient.<\/li>\n<li><strong>Employee Directories<\/strong>: Sort employee directories alphabetically by last name to streamline HR processes and facilitate quick lookups of personnel information.<\/li>\n<li><strong>Student Rosters<\/strong>: Organize student rosters by last name to improve classroom management and simplify administrative tasks like attendance tracking and grade recording.<\/li>\n<li><strong>Client Databases<\/strong>: Arrange client databases alphabetically by last name to enhance customer service, allowing for faster retrieval of client information during interactions.<\/li>\n<li><strong>Event Registrations<\/strong>: Manage event registration lists by sorting attendees by last name, ensuring orderly check-ins and facilitating smooth event operations.<\/li>\n<li><strong>Membership Lists<\/strong>: Alphabetize membership lists by last name to improve the organization of club or association records, making member management more efficient.<\/li>\n<\/ul>\n<p><strong>For ready-to-use Dashboard Templates:<\/strong><\/p>\n<ol>\n<li><a href=\"https:\/\/www.bizinfograph.com\/dashboard-templates#Finance\" target=\"_blank\" rel=\"noopener\">Financial Dashboards<\/a><\/li>\n<li><a href=\"https:\/\/www.bizinfograph.com\/dashboard-templates#Sales\" target=\"_blank\" rel=\"noopener\">Sales Dashboards<\/a><\/li>\n<li><a href=\"https:\/\/www.bizinfograph.com\/dashboard-templates#Human-Resource\" target=\"_blank\" rel=\"noopener\">HR Dashboards<\/a><\/li>\n<li><a href=\"https:\/\/www.executiveknowledge.org\/dashboard-templates\/35\" target=\"_blank\" rel=\"noopener\">Data Visualization Charts<\/a><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Alphabetize by last name in Excel to streamline your data organization and enhance the clarity of your lists. Whether you\u2019re managing contact lists, employee records, or any dataset that includes names, sorting by last name ensures a more intuitive and professional presentation. Say goodbye to manually sorting names and hello to efficient, accurate organization with [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[640],"tags":[642,641],"class_list":["post-5442","post","type-post","status-publish","format-standard","hentry","category-alphabetize-by-last-name","tag-alphabetize-by-last-name","tag-alphabetize-by-last-name-in-excel"],"_links":{"self":[{"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/posts\/5442","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/comments?post=5442"}],"version-history":[{"count":6,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/posts\/5442\/revisions"}],"predecessor-version":[{"id":9243,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/posts\/5442\/revisions\/9243"}],"wp:attachment":[{"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/media?parent=5442"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/categories?post=5442"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bizinfograph.com\/resource\/wp-json\/wp\/v2\/tags?post=5442"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}