Forum Discussion

nicole82's avatar
nicole82
Copper Contributor
Mar 22, 2023
Solved

Excel custom aphlabetical sort not working properly

I'm trying to sort a big list of names first by last name,  then by first name.  I'm finding that some of the sort is not accurate. I colored the cells only for easier viewing of the inaccurate sort. I have tried over and over, and different ways.  I need some help! 

 

11 Replies

  • Hecatonchire's avatar
    Hecatonchire
    Iron Contributor

    Hello

     

    If last name is in column A 

    In an empty cell put this formula

    =A173  = A174   (compare the yellow cells to the white)

     

    The result must be true

     

     

     

     

     

     

     

    nicole82 

      • Hecatonchire's avatar
        Hecatonchire
        Iron Contributor

        So it's not the same text !

         

        I think there a space after the text

        Check the 2 cells

         

         

        nicole82 

  • Patrick2788's avatar
    Patrick2788
    Silver Contributor

    There may be leading or trailing spaces in the First Name and/or Last Name columns.