M
mike999
Hi everybody,
Can anyone tell me how to perform an operation in Excel?
Let's say I have a huge amount of combinations of five numbers in
column a short version of which looks something like this:
1 13 19 27 32
1 13 19 30 32
2 13 19 32 35
3 13 19 32 36
4 13 19 31 37
5 13 21 23 32
6 13 21 25 32
7 13 21 27 32
8 13 21 30 32
9 13 21 32 35
10 13 21 32 36
10 13 21 32 37
10 13 21 25 33
11 13 21 23 32
11 14 22 26 32
11 15 22 27 33
11 15 22 28 32
12 14 22 30 32
12 14 22 32 34
12 14 22 32 35
12 14 22 34 36
12 14 22 32 37
12 14 23 24 34
12 14 23 25 32
12 14 23 26 34
12 14 23 27 32
12 14 25 28 34
12 14 25 30 32
...
What I want Excel help me do is to go through all the combinations an
look for numbers 11, 14, 25, 28 and 34. Then I want to get rid of al
the combinations containing more than ONE of the numbers: 11, 14, 25
28 and 34. That is if a combination contains only 11 – it stays, but i
it has both 11 and 14 in it – the combination must be deleted. Again i
there is let’s say number 25 only in a combination – I want to keep it
but if it has 14, 25, 28 and 34 – I want to discard such
combination.
If somebody knows how to do it - would you please tell me in detail?
Your help is greatly appreciated
Can anyone tell me how to perform an operation in Excel?
Let's say I have a huge amount of combinations of five numbers in
column a short version of which looks something like this:
1 13 19 27 32
1 13 19 30 32
2 13 19 32 35
3 13 19 32 36
4 13 19 31 37
5 13 21 23 32
6 13 21 25 32
7 13 21 27 32
8 13 21 30 32
9 13 21 32 35
10 13 21 32 36
10 13 21 32 37
10 13 21 25 33
11 13 21 23 32
11 14 22 26 32
11 15 22 27 33
11 15 22 28 32
12 14 22 30 32
12 14 22 32 34
12 14 22 32 35
12 14 22 34 36
12 14 22 32 37
12 14 23 24 34
12 14 23 25 32
12 14 23 26 34
12 14 23 27 32
12 14 25 28 34
12 14 25 30 32
...
What I want Excel help me do is to go through all the combinations an
look for numbers 11, 14, 25, 28 and 34. Then I want to get rid of al
the combinations containing more than ONE of the numbers: 11, 14, 25
28 and 34. That is if a combination contains only 11 – it stays, but i
it has both 11 and 14 in it – the combination must be deleted. Again i
there is let’s say number 25 only in a combination – I want to keep it
but if it has 14, 25, 28 and 34 – I want to discard such
combination.
If somebody knows how to do it - would you please tell me in detail?
Your help is greatly appreciated