How to alphabetize in Excel: sort columns and rows A-Z or Z-A

This tutorial will teach you a few quick and easy ways to put Excel in alphabetical order. It also provides solutions for non-trivial tasks, for example how to alphabetize by last name when the entries start with the first name.

Alphabetizing in Excel is as easy as ABC. Whether you are sorting an entire worksheet or selected range, vertically (a column) or horizontally (a row), ascending (A to Z) or descending (Z to A), in most cases the task can be accomplished with a button click. In some situations, however, the built-in features may stumble, but you can still figure out a way to sort by alphabetical order with formulas.

This tutorial will show you a few quick ways to alphabetize in Excel and teach how to foresee and prevent sorting problems.

How to alphabetize in Excel

Overall, there are 3 main ways to sort alphabetically in Excel: A-Z or Z-A button, the Sort feature, and filter. Below you will find the detailed guidance on each method.

How to sort a column alphabetically

The fastest way to sort alphabetically in Excel is this:

  1. Select any cell in the column you want to sort.
  2. On the Data tab, in the Sort and Filter group, click either A-Z to sort ascending or Z-A to sort descending. Done! Sorting a column alphabetically in Excel

The same buttons can also be accessed from Home tab > Editing group > Sort and Filter: Another way to get to the Sort buttons in Excel

Either way, Excel will alphabetize your list instantaneously: A column is alphabetized in a click.

Tip. After you've done sorting and before you do anything else, take a close look at the results. If something looks wrong, click the Undo button to restore the original order.

Alphabetize and keep rows together

If your data set contains two or more columns, you can use the A-Z or Z-A button to put one of the columns in alphabetical order and Excel will automatically move the data in other columns, keeping the rows intact.

As you can see in the sorted table on the right, the related information in each row is kept together: Alphabetize and keep rows intact in Excel

In some situations, mostly when just one or a few cells in the middle of your data set are selected, Excel is unsure which part of the data to sort and asks for your instructions. If you'd like to sort the entire dataset, leave the default Expand the selection option checked, and click Sort: Expand the selection to sort the whole table.

Note. In this tutorial, a "table" is just any data set. Technically, all our examples are for ranges. Excel table has inbuilt sorting and filtering options.

Filter and alphabetize in Excel

Another quick way to sort alphabetically in Excel is to add a filter. The beauty of this method is that it's one-time setup - once the auto filter is applied, the sort options for all columns are only a mouse click away.

Adding a filter to your table is easy:

  1. Select one or several column headers.
  2. On the Home tab, in the Editing group, click Sort and Filter > Filter.
  3. Small drop-down arrows will appear in each of the column headers. Click the drop-down arrow for the column you want to put in alphabetical order, and select Sort A to Z: Soring a column from A to Z

The column is alphabetized straight away, and a small upward arrow on the filter button indicates the sorting order (ascending): Filter and alphabetize in Excel

To reverse the order, select Sort Z to A from the filter drop-down menu.

To remove the filter, simply click the Filter button again.

How to put multiple columns in alphabetical order

In case you want to alphabetize data in several columns, use the Excel Sort command, which gives more control over how your data is sorted.

As an example, let's add one more column to our dataset, and then arrange the entries alphabetically first by Region, and then by Name: Sort alphabetically by multiple columns in Excel.

To have it done, please perform the following steps:

  1. Select the entire table you want to sort.

    In most cases, you can select just one cell and Excel will pick the rest of your data automatically, but this is an error-prone approach, especially when there are some gaps (blank cells) within your data.

  2. On the Data tab, in the Sort & Filter group, click the Sort button. Open the Sort dialog box.
  3. The Sort dialog box will show up with the first sorting level created for you automatically as Excel sees fit.

    In the Sort by dropdown box, select the column you want to alphabetize first, Region in our case. In the other two boxes, leave the default settings: Sort On - Cell values and Order - A to Z: Set up the column you want to alphabetize first.

    Tip. If the first dropdown is showing column letters instead of headings, tick off the My data has headers box.

  4. Click the Add Level button to add the next level and select the options for another column.

    In this example, the second level sorts the values in the Name column alphabetically from A to Z: Add a second level to sort the Name column alphabetically from A to Z.

    Tip. If you are sorting by multiple columns with the same criteria, click Copy Level instead of Add Level. In this case, you will only have to choose a different column in the first box.

  5. Add more sort levels if needed, and click OK.

Excel will sort your data in the specified order. As shown in the screenshot below, our table is arranged alphabetically exactly as it should: first by Region, and then by Name: The table is sorted alphabetically by 2 columns.

Tip. If the items you want to sort contain both text and numbers, check out How to sort mixed numbers and text in Excel.

How to sort rows alphabetically in Excel

If your data is arranged horizontally, you may want to sort it alphabetically across rows. This can also be done by using the Excel Sort feature. Here's how:

  1. Select the range you want to sort. If your table has row labels that should not be moved, be sure to leave them out.
  2. Go to the Data tab > Sort and Filter group, and click Sort: Sorting rows alphabetically in Excel
  3. In the Sort dialog box, click the Options...
  4. In the small Sort Options dialog that appears, select Sort left to right, and click OK to get back to the Sort Sort left to right in Excel.
  5. From the Sort by drop-down list, select the row number you want to alphabetize (Row 1 in this example). In the other two boxes, the default values will do just fine, so we keep them (Cell Values in the Sort on box, and A to Z in the Order box), and click OK: Specify how you want to sort rows.

As the result, the first row in our table is sorted in alphabetical order, and the rest of the data is rearranged accordingly, preserving all correlations between the entries: The first row is sorted alphabetically, and the rest of the data is rearranged accordingly.

Problems with sorting alphabetically in Excel

Excel sort features are amazing, but if you are working with an imperfectly structured data, things may go terribly wrong. Here are the two common issues.

Blank or hidden columns and rows

If there are empty or hidden rows and columns within your data, and you select just one cell before clicking the sort button, only the part of your data until the first blank row and/or column will be sorted.

An easy fix is to eliminate the blanks and unhide all hidden areas before sorting. In case of blank rows (not hidden rows!), you can select the entire table first, and then alphabetize. In case of blank rows or columns, select the entire table first, and then alphabetize.

Unrecognizable column headers

If your column headers are formatted differently from the rest of the data, Excel is smart enough to identify them and exclude from sorting. But if the header row has no special formatting, your column headers will most likely be treated as regular entries and end up somewhere in the middle of the sorted data. To prevent this from happening, select only the data rows, and then sort. To exclude column headers from sorting, select only the data rows, and then sort.

When using the Sort dialog box, make sure the My data has headers checkbox is selected.

How to sort alphabetically in Excel with formulas

Microsoft Excel provides a variety of features to cope with many different tasks. Many, but not all. If you are facing a challenge for which there is no built-in solution, chances are it can be accomplished with a formula. It is also true for alphabetical sorting. Below, you will find a couple of examples when alphabetical order can only be done with formulas.

How to alphabetize in Excel by last name

Since there are a few common ways to write names in English, you may sometimes find yourself in a situation when the entries start with the first name while you need to alphabetize them by the last name: Alphabetize by last name in Excel

Excel's sort options cannot help in this case, so let's resort to formulas.

With a full name in A2, insert the following formulas in two different cells, and then copy them down the columns until the last cell with data:

In C2, extract the first name:

=LEFT(A2,SEARCH(" ",A2)-1)

In D2, pull the last name:

=RIGHT(A2,LEN(A2)-SEARCH(" ",A2,1))

And then, concatenated the parts in the reverse order separated by comma:

=D2&", "&C2

The detailed explanation of the formulas can be found here, for now let's just focus on the results: Formulas to extract the first and last names in Excel

Since we need to alphabetize the names, not formulas, convert them to values. For this, select all the formula cells (E2:E10) and press Ctrl + C to copy them. Right-click the selected cells, click on Values under Paste Options, and press the Enter key: Convert formulas to values.

Good, you are almost there! Now, select any cell in the resulting column, click the A to Z or Z to A button on the Data tab, and there you have it - a list alphabetized by the last name: A list alphabetized by the last name in Excel

In case you need to revert to the original First Name Last Name format, there is a little more work for you to do:

Split the names into two parts again by using the below formulas (where E2 is a comma-separated name):

Get the first name:

=RIGHT(E2, LEN(E2) - SEARCH(" ", E2))

Get the last name:

=LEFT(E2, SEARCH(" ", E2) - 2)

And bring the two parts together:

=G2&" "&H2 Split a coma-separated name and concatenate the two parts.

Perform the formulas to values conversion one more time, and you are good to go!

The process may look a bit complex on paper, but trust me, it will take only a few minutes in your Excel. In fact, it will take even less time than reading this tutorial, let alone alphabetizing the names manually :)

How to alphabetize each row individually in Excel

In one of the previous examples we discussed how to alphabetize rows in Excel by using the Sort dialog box. In that example, we were dealing with a correlated set of data. But what if each row contains independent information? How do you alphabetize each row individually?

In case you have a reasonable number of rows, you can sort them one by one performing these steps. If you have hundreds or thousands of rows, that would be an enormous waste of time. Formulas can do the same thing much faster.

Suppose you have many rows of data that should be re-arranged alphabetically like this: Rows that should be sorted alphabetically

To begin with, copy the row labels to another worksheet or another location in the same sheet, and then use the following array formula to put each row in alphabetical order (where B2:D2 is the first row in the source table):

=INDEX($B2:$D2, MATCH(COLUMNS($B2:B2), COUNTIF($B2:$D2, "<="&$B2:$D2), 0))

Please remember that the correct way to enter an array formula in Excel is by pressing Ctrl + Shift + Enter. An array formula to put each row in alphabetical order

If you are not very comfortable with Excel array formulas, please following these steps to enter it correctly in your worksheet:

  1. Type the formula in the first cell (G2 in our case), and press Ctrl + Shift + Enter. As you do this, Excel will enclose the formula in {curly braces}. Do not try typing the braces manually, that won't work.
  2. Select the formula cell (G2) and drag the fill handle rightwards to copy the formula to other cells of the first row (up to cell I2 in this example).
  3. Select all the formula cells in the first row (G2:I2) and drag the fill handle downwards to copy the formula to other rows.

Important note! The above formula works with a couple of caveats: your source data should not contain empty cells or duplicate values.

If your dataset has some blanks, wrap the formula in the IFERROR function:

=IFERROR(INDEX($B2:$D2,MATCH(COLUMNS($B2:B2),COUNTIF($B2:$D2,"<="&$B2:$D2),0)), "")

Unfortunately, there is no easy solution for duplicates. If you know one, please do share in comments!

How this formula works

The above formula is based on the classic INDEX MATCH combination used to perform horizontal lookup in Excel. But since we need kind of "alphabetical lookup", we have rebuilt it in this way:

COUNTIF($B2:$D2,"<="&$B2:$D2) compares all the values in the same row with each other and returns an array of their relative ranks. For example, in row 2 it returns {2,3,1}, meaning Caden is 2nd, Oliver is 3rd, and Aria is 1st. This way, we get the lookup array for the MATCH function.

COLUMNS($B2:B2) supplies the lookup value. Due to a clever use of absolute and relative references, the returned number is incremented by 1 as we go right. That is, for G2, the lookup value is 1, for H2 - 2, for I2 - 3.

MATCH searches for the lookup value calculated by COLUMNS() in the lookup array returned by COUNTIF(), and returns its relative position. For example, for G2, the lookup value is 1, which is in the 3rd position in the lookup array, so MATCH returns 3.

Finally, INDEX extracts the real value based on its relative position in the row. For G2, it fetches the 3rd value in the range B2:D2, which is Aria.

How to sort each column alphabetically in Excel

If you are dealing with independent subsets of data organized vertically in columns, you can easily tweak the above formula to alphabetize each column individually. Just replace COLUMNS() with ROWS(), make a few column coordinates absolute and row coordinates relative and your formula is ready:

=INDEX(A$3:A$5,MATCH(ROWS(A$3:A3),COUNTIF(A$3:A$5,"<="&A$3:A$5),0))

Please remember it's an array formula, which should be completed with Ctrl + Shift + Enter: Sorting each column alphabetically in Excel

Apart from providing solutions to the tasks that are impossible to accomplished with Excel built-in sort options, formulas have one more (though disputable :) advantage - they make sorting dynamic. With inbuilt features, you will have to resort your data each time new entries are added. With formulas, you can add new data any time and the sorted lists will update automatically.

If you'd rather make your new alphabetical arrangement static, replace formulas with their results by using Paste Special > Values.

To have a closer look at the formulas discussed in this tutorial, you are welcome to download our Excel Alphabetical Order worksheet. I thank you for reading and hope to see you on our blog next week!

86 comments

  1. I used to be able to sort alphabetically by following these directions of selecting the a/z button but now it gives an error that the columns are not the same size. How can I fix this/ the data has not changed but something in excel has changed since my columns have never been same size but I could always easily organize the list by alphabetical name order. When I select the expand it says "all merged cells need to be the same size'

  2. IFERROR(INDEX($C$2:$C$3000,SMALL(IF($A$2:$A$3000>1,ROW($C$2:$C$3000)),ROW(1:1))-1,1),"")
    This is array formula. I want an equivalent regular non arry formula for alphabetising data in a column

  3. HI
    I have some problem with this formula
    =INDEX($B2:$D2, MATCH(COLUMNS($B2:B2), COUNTIF($B2:$D2, "<="&$B2:$D2), 0))

    How does it work exactly?what is happening with "aria" or"cadel" that they sorted alphabetcally? I want more about the formulla.

  4. i am fan to your sir very most expain in excel sheet yes i can do it but some some problem i know try do this work

  5. This was super helpful, didn't have to call my boss and sound like I didn't know what I was doing. Thanks!!

  6. Hi Sir,
    Am trying to sort a cell with few text string. my query is
    I have A2= fan_mobile > web > theaters, fan_mobile > iphone > theaters, fan_mobile > android > theaters

    So here I need a formula in B2 to have texts in alphabetic order of A2 like : fan_mobile > android > theaters, fan_mobile > iphone > theaters, fan_mobile > web > theaters
    Ascending or descending order. Can you please help me in it.

  7. Thanks

  8. I HAVE AN INVENTORY SPREADSHEET WITH SEVERAL COLUMNS - EX.

    BOY - ITEM123 ANGEL - ITEM321
    SISTER - ITEM456 HAT - ITEM654
    EAST - ITEM 789 FOOD - ITEM987

    IS THERE A WAY TO SORT BOTH COLUMNS TO KEEP TRACK OF ALL OF THE CRAFT INVENTORY SO I CAN SAVE ON PAPER BY PUTTING ALL OF THE DATA ON THE PAGES I NEED TO COMPLETE THE INVENTORY WITH ROOM TO ADD FUTURE PURCHASES?

  9. The "How to alphabetize each row individually in Excel" is exactly what I needed! Thank you so much for your clear instructions!

  10. Well, for my project i need to personalyse the alphabetical order to sort a series of words, but i couldn't find a way to do so.
    My question is whether there is any possibility to change the alphabetical order in accordance to a certain need, for example; instead of a, b, c, d, ... the order would be: a, u, i, e, w, y, m, b, f, n, l, r, h, p, ä, qh, q, x, k, c, g, j, t, tt, d, dd, s, ss, z, zz.
    I am eager to find any way to make the sort in the order above mentioned; thus, i won't be seekin to order a list of over thousands of words manually ...
    Thank you!

  11. I have a large list of words accross many columns in individual cells and also a number of rows. Is there any way to select all these cells and sort A-Z? I've tried the sort function but I must be missing something. Could you run through it with me if it is possible.

    • I have the same issue!

      • Hi!
        Excel can only sort a contiguous range of cells. You cannot sort the values that are written in separate cells, rows, and columns.

  12. I got asked to put a certain column in order, I couldn't drag it to the order my company needed. I had no idea about the custom sorting that I used, it surprised me and my manager. Thank you so much for your references, it saved us a whole bunch of head aches :D

  13. This is an excellent article and I've learned a lot from it. But I'm puzzled by a minor point of wording.

    In the section of the article headed 'How to sort each column alphabetically in Excel', you write ". . . make a few column coordinates absolute and row coordinates relative". You then show this formula:

    =INDEX(A$3:A$5,MATCH(ROWS(A$3:A3),COUNTIF(A$3:A$5,"<="&A$3:A$5),0))

    I can only see one relative reference for rows (rather than "a few"). This is in the ROWS part of the formula — ROWS(A$3:A3) will become ROWS(A$3:A4) on the next row to which the formula is dragged down.

    None of the column references are shown as absolute, If they were, I think the formula would be as follows:

    =INDEX($A$3:$A$5,MATCH(ROWS($A$3:$A3),COUNTIF($A$3:$A$5,"<="&$A$3:$A$5),0))

    I know these are very nit-picking comments, but – if you have time – please would you explain if I've failed to grasp correctly what you've said?

  14. Hello Folks,

    I have an excel spreadsheet on my MacBook.
    I have a column that is sorted alphabetically from A to Z.
    But I want to sort this column so that the order of the words is determined by the end of the word working to the first character of each word.

    example:

    Dog
    Cat
    Bird

    Becomes:

    Bird
    Dog
    Cat

    Is this possible at all?

    Thank you or your help and great tutorials.

      • Hello Alexander,
        thank you so much for your reply and what a shame.

        Are there 'non standard Excel options' available?

        Have a great day and thank you!

          • ok. Thank you for your reply. I appreciate it.

            have a great day.

  15. Hi

    Actually there is a way. Found the answer on another site: superuser.com/questions/1423489

    For the record, and to help anyone else facign the same dilema:
    Basically create a Custom Function that transposes the EBCDIC character string to ASCII, in a new column, and then sort that.

  16. example:
    have the values A4APPLES; ANORANG. In all my attempts whether I use a custopm list or not A4APPLES is listed before ANORANG, my requirement is to have ANORANG before A4APPLES... (My list has 1500 entries)

    Why is this not an option in EXCEL?

    • Hi!
      All values must be accurately specified in the sorting list. I think that in your case this is impossible. Sorting in Excel always puts a number before a letter.

  17. Excel defaults to sorting 0-9, A-Z. How can you configure it so that it sorts A-Z, 0-9?
    I tried creating a custom list "A,B,C,... etc... .. X,Y,Z,0,1..list but this does not appear to work as I have Value AA00 before AAJ4.
    Surely there must be a simple way to change this......

  18. how can I sort tabs alphabetically without doing it manually

  19. sorting data used to be so easy to select the column and select A -> Z and the column would alphabetize the column. I don't know what it is doing, but I have a list of Last Name, First Name, and it is not sorting in alpha order except in the filter but not on the page.

  20. I have a problem with this formula. It adds the first entry of the row in my raw data to the very end of the sorted row, regardless of where it belongs to be in the new sorted row.

    Example:

    Raw data: Adam, Eddy, Greg, Fred
    Resultant sorted data: Eddy, Fred, Greg, Adam

    Why doesn't Adam remain as the first entry?

    • Never mind. Found the problem. There was a space in front of some of my cell items.

  21. I have a list of 150 birthdays spread into several years and i want to sort them by Month - Jan, Feb, March, etc. (the Sort option arranges it numerically.
    Can someone help? thanks and peace

    • Hello!
      I recommend using Excel's built-in sort options.
      Select the records that you want to sort by month.
      On the Data tab, in the Sort & Filter group, click Sort.
      In the Sort dialog box, do the following:
      Under Column, select the name of the column that contains the dates.
      Under Sort on, choose Cell Values.
      Under Order, select Custom List.
      In the Custom Lists dialog box, select short names (Jan, Feb, Mar…)
      Click OK twice to close both dialog boxes.

  22. Sorting Croatian alphabet works fine until it come to letters S and Š, it seems excel doesn't recognize them as two individual letters. Any advice how to fix this problem?

  23. I have multiple names that appear several times. After sorting by the names, is there a way to subtotal each section (by name).

  24. Is it possible to sort information together in 2 or more columns? So if i have an entire page full of names (for attendance so to speak) and it fills up columns A-F, what do i do to get kids in order even if their last name begins with a C and should go in column A, but they're entered into column F to start.

  25. Awesome!! Thank you!

  26. I want to sort columns alphabetically in excel see below:
    NC BD GO CC MM
    How do I do that

    Thanks

    • Hello James!
      I hope you have studied the recommendations in the above tutorial. Describe in detail what problem you have, and I will try to help you

  27. Dear Team ,

    I had the problem in excel sorting , I have the data is
    M10
    M3
    M14
    M23
    M25
    M42
    M100
    M6
    M65
    M8
    M95
    M120

    Please let me inform how to sort out

    • Hello!
      I’m sorry but your task is not entirely clear to me. For me to be able to help you better, please describe your task in more detail. Please specify what formula you used and what problem or error occurred. What result did you want to get?
      It’ll help me understand it better and find a solution for you. Thank you.

  28. Why is it that when I am sorting a to z that 2 of the ones I have or at the top and will not be in the appropriate order? It is like it skips those two. If I start a new page and put in the same information it will do the same thing and not sort those two.

  29. After sorting A-Z the same column has somehow created Two seperate A-Z sorting in the same column? I've tried unhiding rows to see if there blanks causing the issue but don't see any.
    it would look like this :
    able
    att
    bits
    zorro
    act
    bart
    cart
    in other words the column alphabetized twice as you see after zorro "act" started a new alphabetized sequence. I can't get "act" to appear under able where it should be after the A-Z sort. !!!

  30. Sorting A-Z for multiple pages? Can I sort to incorporate five pages in A-Z order?

  31. Hi,
    I'm trying to line up job codes and am having trouble getting them to sort correctly. Example:
    ACT 01
    ACT 10
    ACT 100
    ACT 11
    ACT 12

    Is there a way that can sort so it makes the numbers so in consecutive order?
    ACT 10
    ACT 11
    ACT 12
    ACT 100

    Thank you!

  32. HI,

    Great tutorial but it is not working for me. MY students have a cemetery database in excel that has about 3700 rows and 12 columns. The first two columns are last name, first name. It was working several months ago but now, the last name sorts but the first name doesn't. So for all of the last names "Adams". It sorted the first names alphabetically for the first 10 or so, but then incorrectly sorted the next 5-10 first names. I don't know what went wrong. We had no trouble with multi-level sorting the data by other headings, like Section, Row, and Grave number. That worked perfectly. But the last name first name multi-level sort is not working. We are getting things like:
    Adams Anita G.
    Adams Naomi Allen
    Adams Space
    Adams Space
    Adams Martha H.
    Adams Raymond
    Adams Kim C.
    Adams Space
    Adams Michael Earl
    Adams Mytile Evans
    Adams Dr. Eugene W Sr.
    Adams Addie W.
    Adams Minnie Pugh
    Adams Esau
    What might we be doing wrong? Help would be greatly appreciated. Thanks!

    • Hi Deloris,

      It's hard to say what is causing this without seeing the actual data. Unexpected sorting issues sometimes occur in shared workbooks, please check this. Also, you can trying clearing all formatting in the problematic columns. If neither helps, then you can send us a sample worksheet (support@ablebits.com) and we will try to figure out the source of the problem.

  33. Hi,
    Want to do this one :
    How to sort each column alphabetically in Excel
    =INDEX(A$3:A$5,MATCH(ROWS(A$3:A3),COUNTIF(A$3:A$5,"<="&A$3:A$5),0))
    But not from A to Z but Z to A. How should I modify this to work?

  34. Hi!
    I`m trying to make your formula :
    =INDEX(A$3:A$5,MATCH(ROWS(A$3:A3),COUNTIF(A$3:A$5,"<="&A$3:A$5),0))
    to alphabetize an attendance list.
    Thing is in the Column A I already have a formula which give me who has attended the event or blank for people who did not. Ex.: A4 =IF($M4="○",$B4,"")
    The M column is mark ○ (yes) or × (no) depending on attendance. The B column is the name of invited people in order of member`s card number.
    If I use your formula then it comes back with #N/A. How can i fix this?

    • Found the problem. SOLVED.

  35. My problem is the column I want alphabetized e.g., column C was successfully alphabetized but the information in the other columns did not go with the newly sorted names in alpha order. My list has a name, contact number. dates and remarks. The remarks have a more than a one liner. The names were alphabetized but the other data corresponding to that name did not move. Please help. Thank you.

  36. Hi,
    I have situation here, I have multiple words in the same cell in excel. I need to arrange them into Alphabetical Order A-Z in the same cell. What should be the formula for the same?
    Please help Me in this.
    Example : "Zebra Apple Machine" i need it in " Apple Machine Zebra"

    • Hi,
      First of all, I would place each word into an individual cell by applying any of the following tools: Excel's 'Text to Columns' or Ablebits' 'Split Text'. Then I would follow Svetlana Cheusheva's advice on 'How to alphabetize each row individually in Excel' (please see the article above). You could always put the words back into one cell with the help of 'Merge Cells' — one more tool offered by Ablebits' 'Ultimate Suite'.

  37. Hi,
    I have a spreadsheet of guest names and table numbers for an event
    For the first row, for example it says: Mr. and Mrs. | William | Smith | 2 attending | Table 2
    To clarify: A2, says Mr. & Mrs., B2 has the guest's first name name, C2 has their Last Name. D2 says the number attending the event, and E2 has their table number, F2 will have a personal note on the guest
    How can arrange the names alphabetically (according to last name) , and ensure their information follows?
    Thank you in advance,

    • Highlight all the cells you want included in the sorting, so from A2 down to the last cell in Column F. Then, when you sort by Last Name (Column C,) all the rows will stay intact.

  38. Saved the DAY. Thanks/

  39. I have a spreadsheet that appears to contain two different kind of data. Same exact columns and rows but obviously the later spreadsheet was saved differently. Now the spreadsheet doesn't alphabetize the data from the newer data into the original spreadsheet. How can I get the new data implemented with the old data?

  40. Hello,
    I want to sort description column from A to z. However the problem it is all cells of different alignment. There is a huge amount of data that i will need to align in one order for the filter to work. is there a way in which i can align all data. I tried using the alignment tab to get all the data in the column to be in same alignment. but it is not working.

    Please is there any solution!!

  41. Since there is NO value

  42. Dear Doug/Kathy,

    Sorry for the delayed reply. As you mentioned, I tried many times with the multiple column sorting. But, it doesn't work. Assume that, I've data in 3 columns like 10 to 1 in column A & B (Remember they're disorganized). Column C has data. But, only 1 to 5(Disorganized). Now if I try to sort out the data by using multiple column method, it is not sorting out all the columns either largest to smallest or vice-versa. Is there any other way? And also, as I mentioned earlier discussion, I'm getting blank cells between rows. Since there is value or data in the blank cells.

  43. One thing that I am finding is that all the columns have to be the same size in order for the system to sort.

  44. Dear Doug,

    Yes.. I was sorting out all the columns into A to Z format by manually selecting the individual columns. I tried multiple columns sort out, not coming properly. As i mentioned, lot of blank rows in between.

    Thank You

    • Sivakumar:
      When you sort each column individually, are all the blank cells together?
      Have you checked to be certain they are empty? They may contain spaces, breaks or other non-printing characters.
      I was thinking about your situation yesterday. I wonder if it is a situation where you just have to manually clean the data. It sounds as if the multiple column sorting won't give you the result you want now.

  45. Dear Doug,

    Yes.. I was sorting out all the columns into A to Z format by manually selecting the individual columns. I tried multiple columns sort out, not coming properly. As i mentioned, lot of blank rows in between.

    Thank You

  46. Hi,

    I want to sort out nearly 100 columns and in all the columns rows number is differ. Ex, In one column, until row 10 have data in another column have data until 20. In this situation, how to sort out the data in all column in A to Z format. I tried.But, in some columns in between blank cells came. Kindly help me.

    One more question, by reading this i understood that for sorting out multiple columns i have to use add level. But, when the column numbers are more means each time how can i go change the column number. If there is other way, i could save my time.

    • Sivakumar:
      Can you sort each column separately or do all the columns have to be sorted as one big selection?
      If you can sort each column by itself you can avoid the blank row problem.
      If the data in each column has to stay with its respective row across the entire data set, you're doing it the only way it can be done. You have my sympathy.

  47. hi friend!!!
    I have problem in this formula i used but it's not working and result showing #N/A. please solve it.

  48. Hellow my name is MartinElisy. Wery capable post! Thx :)

  49. Hello,
    I need some Help on Excel.
    Help me design for me a Fixed Assets Depreciation Excel Sheet with the formulas that can calculate all the monthly fixed assets depreciation values at cost of the assets on reducing balance method of depreciation.
    Regards,
    Denis.

  50. Thanks for this, love your tutorials. Keep it up!

    • My friend, I have a problem in sorting the entire spreadsheet.
      Ex: I have three hundred names entered from line two to fifty one and in several columns.
      I need to sort all the names in the spreadsheet, all columns at once. I tried all methods I knew, in vain. Please help me. Yhanks

Post a comment



Thank you for your comment!
When posting a question, please be very clear and concise. This will help us provide a quick and relevant solution to
your query. We cannot guarantee that we will answer every question, but we'll do our best :)