ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Sorting Help (https://www.excelbanter.com/excel-discussion-misc-queries/250717-sorting-help.html)

klafert

Sorting Help
 
I have column A that has Account ID number and there are three sections. The
I want to sort so that I have each section in order. In other words - see
example below.

Current Sort Desired Sort

Acct. ID. Acct. ID.
4100-1-01 4100-1-01
4100-1-01 4120-1-01
4100-1-01 4130-1-01
4120-1-01 4100-1-01
4120-1-01 4120-1-01
4120-1-01 4130-1-01
4130-1-01 4100-1-01
4130-1-01 4120-1-01
4130-1-01 4130-1-01

How can I sort The Current sort to look like Desired Sort??? Can't use Data
Sort or ????

Luke M

Sorting Help
 
Insert a helper column, and input this formula, copied down:
=COUNTIF(A$2:A2,A2)

Then, select your data, go to Data - Sort. Sort by helper column first
(ascending) then by your account no.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"klafert" wrote:

I have column A that has Account ID number and there are three sections. The
I want to sort so that I have each section in order. In other words - see
example below.

Current Sort Desired Sort

Acct. ID. Acct. ID.
4100-1-01 4100-1-01
4100-1-01 4120-1-01
4100-1-01 4130-1-01
4120-1-01 4100-1-01
4120-1-01 4120-1-01
4120-1-01 4130-1-01
4130-1-01 4100-1-01
4130-1-01 4120-1-01
4130-1-01 4130-1-01

How can I sort The Current sort to look like Desired Sort??? Can't use Data
Sort or ????



All times are GMT +1. The time now is 07:37 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com