Rearrange filtering data by "same number" in all the 5 positions

motilulla

Well-known Member
Joined
Feb 13, 2008
Messages
2,362
Office Version
  1. 2010
Hello,

Sheet1... has data sample as data received in original format.

I want to have data filtered by the "same number" in all the 5 positions as shown in the Sheet2 leaving 1 space after each of the next number (minimum from 1 to maximum 29 numbers)

For a more detail 1 image is attached showing "sheet1 original sample data". And 2nd image is showing filtering data by "same number" in all the 5 positions.

Pease suggest VBA solution

Sheet1... data sample as data received in original format.
*ABCDEFGHIJ
1
2
3
4
5n1n2n3n4n5
6123448
7134534
8145628
91471046
102781047
112781047
121241144
1358101331
141361824
1535131839
161671828
1714101923
1848111946
1928101946
2018181939
211262036
2257182030
231252132
241252132
2556162327
26916182332
271318202330
2814212446
291718192440
3057212537
3169102649
32211132650
3314182742
3425212742
3569102735
36318222732
37111222844
3815232932
39616182938
4012153035
41514283047
4213213239
43110123233
44220243246
4567123339
4623333442
47210183435
48310263544
49718303739
5023133842
511343840
52316343848
531218353845
541820353848
551821293841
561831323848
5719183948
581518293941
59918303945
60211184046
61420364041
62223284043
63611354144
64818224142
651823374142
661234248
67110234246
68910194249
691618284249
70219284249
71120414250
721823274244
7323254348
7412264450
753484450
7637254550
77610214549
78610214549
79613224549
801029304549
81412254648
821028404748
83224314850
84
85
86
87

Sheet2...Result Required data filtered by the "same number" in all the 5 positions
*ABCDEFGHIJ
1
2
3
4
5n1n2n3n4n5
614101923
713213239
8111222844
9110234246
10120414250
1112153035
12
132781047
14223284043
15224314850
16219284249
1712264450
18220243246
191262036
20211132650
211252132
22
2337254550
241361824
253484450
26316343848
2723254348
2823133842
291234248
3023333442
31310263544
32
3348111946
3414212446
351343840
36412254648
37123448
381241144
39420364041
40
4115232932
4258101331
43514283047
4457212537
451252132
4625212742
47134534
48
49610214549
5056162327
51611354144
5269102735
53145628
5467123339
55613224549
56
57610214549
582781047
591028404748
60110123233
6169102649
621029304549
6328101946
64910194249
651471046
66
671518293941
6819183948
6918181939
701718192440
711821293841
721823274244
7335131839
74211184046
75818224142
761618284249
771831323848
78916182332
791318202330
8014182742
81318222732
82718303739
8357182030
841823374142
85210183435
861820353848
87918303945
88616182938
891671828
901218353845
91
92
93

Thank you all.

I am using Excel 2000

Regards,
Moti
 

Attachments

  • Sheet1 Orignal Data.png
    Sheet1 Orignal Data.png
    74.5 KB · Views: 13
  • Sheet2 Sort Data By Numbers.png
    Sheet2 Sort Data By Numbers.png
    74.3 KB · Views: 14

Excel Facts

What does custom number format of ;;; mean?
Three semi-colons will hide the value in the cell. Although most people use white font instead.
Follow this link to know how to attach a mini sheet
 
Upvote 0
Follow this link to know how to attach a mini sheet
@ bebo021999, I am sure this is not adaptable with my version xl2000
 
Upvote 0
I will be glad if it could be done by formula or VBA using helper column some way filtering data from 1 to 29 in all position and copying them one after another may be it is just my guess could be or not can't say...
 
Upvote 0
I will be glad if it could be done by formula or VBA using helper column some way filtering data from 1 to 29 in all position and copying them one after another may be it is just my guess could be or not can't say...
BUMP
 
Upvote 0
Excel2003? I am not sure I can offer solution for this version.
@ bebo021999, I am using xl2000, but I think Excel2003 and office 365 solutions work perfect with my version please cam you provide your code i guess that will help thank you.

Kind Regards,
Moti
 
Upvote 0
Questions:
What do you mean by "filter"? I don't see any rows is being filtered.
What do you mean by "same number" & "5 position"? How do you determine which one is the "same number"?
 
Upvote 0

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top