hello forum,
i have database with a string field that contains duplicates numbers.
what i would need to do is to search for each group of numbers - delimited by space character and search it through the other groups of numbers - also delimited by space and if the same group if found to delete the second and the thirs accourance etc and then move to the second group of numbers and do the same
for example if i have "19 21 19 21 19 21" then i would need to search for 19 and when i found 19 on the 3rd group to delete it and then continue the search until the last group;
the same with 21
the final result should be "19 21"
here is more data
Excel 2007
i have database with a string field that contains duplicates numbers.
what i would need to do is to search for each group of numbers - delimited by space character and search it through the other groups of numbers - also delimited by space and if the same group if found to delete the second and the thirs accourance etc and then move to the second group of numbers and do the same
for example if i have "19 21 19 21 19 21" then i would need to search for 19 and when i found 19 on the 3rd group to delete it and then continue the search until the last group;
the same with 21
the final result should be "19 21"
here is more data
Excel Workbook | |||
---|---|---|---|
E | |||
2 | 222 C | ||
3 | 52 | ||
4 | 16 | ||
5 | |||
6 | 19 21 19 21 | ||
7 | 7 | ||
8 | 60 | ||
9 | 43 | ||
10 | 4 | ||
11 | 5 | ||
12 | 3 38 40 | ||
13 | 115 | ||
14 | 5 | ||
15 | 2 | ||
16 | |||
17 | 1 | ||
18 | 25 | ||
19 | 31 31 | ||
20 | 71 | ||
21 | 4 | ||
22 | 31 A | ||
23 | 111 | ||
24 | |||
25 | 1 | ||
26 | 3 | ||
27 | 11 | ||
28 | 77 | ||
29 | 3 | ||
30 | 61 | ||
IT Customers Data |
Cell Formulas | ||
---|---|---|
Range | Formula | |
E2 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D2,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D2&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E3 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D3,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D3&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E4 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D4,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D4&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E5 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D5,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D5&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E6 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D6,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D6&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E7 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D7,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D7&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E8 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D8,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D8&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E9 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D9,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D9&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E10 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D10,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D10&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E11 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D11,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D11&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E12 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D12,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D12&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E13 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D13,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D13&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E14 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D14,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D14&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E15 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D15,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D15&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E16 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D16,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D16&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E17 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D17,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D17&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E18 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D18,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D18&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E19 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D19,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D19&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E20 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D20,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D20&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E21 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D21,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D21&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E22 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D22,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D22&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E23 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D23,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D23&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E24 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D24,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D24&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E25 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D25,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D25&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E26 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D26,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D26&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E27 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D27,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D27&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E28 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D28,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D28&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E29 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D29,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D29&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) | |
E30 | =TRIM(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(SUBSTITUTE(MID(D30,MIN(SEARCH({0;1;2;3;4;5;6;7;8;9},D30&"0123456789",1)),255),","," ")," "," "),"/"," "),"."," "),""," ")) |