Repeat Numbers

88 903 140 Reputation points
2023-07-30T14:48:32.6766667+00:00

How to sort numbers that are repeated according to column A in ABCD order according to column B.

User's image

Microsoft 365 and Office | Excel | For business | Windows
0 comments No comments
{count} votes

Accepted answer
  1. Emi Zhang-MSFT 30,046 Reputation points Microsoft External Staff
    2023-07-31T08:11:46.28+00:00

    Hi,

    For Column B, you can enter the A in B1 first then enter the formula in B2:

    =IF(A2=A1,CHAR(CODE(B1)+1),CHAR(65))

    User's image

    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Barry Schwarz 3,746 Reputation points
    2023-07-30T16:49:33.0266667+00:00

    Select the range (both columns).

    Open the Data tab.

    Select the large sort icon.

    Specify the number column as the first "sort by".

    Specify the letter column as the next "sort by".

    Click OK

    0 comments No comments

  2. Tanay Prasad 2,250 Reputation points
    2023-07-31T07:02:58.49+00:00

    Hi,

    Select the A and B Columns.

    And click on Sort & Filter, and click on Sort A to Z for ascending order and Sort Z to A for descending order.

    Best Regards.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.