Using Excel 2010
Hello,
I have a 5 number in columns D:H I want a formula or a macro which can Extract odd numbers from 1 To 25 in Columns J:N and Extract odd numbers from 26 To 50 in Columns P:T
Note: I want a formula or a macro which can be used in Excel 2000 also.
Here is a example sheet with expected results…
Regards,
Moti
Hello,
I have a 5 number in columns D:H I want a formula or a macro which can Extract odd numbers from 1 To 25 in Columns J:N and Extract odd numbers from 26 To 50 in Columns P:T
Note: I want a formula or a macro which can be used in Excel 2000 also.
Here is a example sheet with expected results…
Odds.xls | |||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | |||
1 | |||||||||||||||||||||||
2 | |||||||||||||||||||||||
3 | |||||||||||||||||||||||
4 | n1 | n2 | n3 | n4 | n5 | EM | Odd 1 To 25 | EM | Odd 26 To 50 | ||||||||||||||
5 | n1 | n2 | n3 | n4 | n5 | EM | n1 | n2 | n3 | n4 | n5 | EM | n1 | n2 | n3 | n4 | n5 | ||||||
6 | 16 | 29 | 32 | 36 | 41 | 29 | 41 | ||||||||||||||||
7 | 7 | 13 | 39 | 47 | 50 | 7 | 13 | 39 | 47 | ||||||||||||||
8 | 14 | 18 | 19 | 31 | 37 | 19 | 31 | 37 | |||||||||||||||
9 | 4 | 7 | 33 | 37 | 39 | 7 | 33 | 37 | 39 | ||||||||||||||
10 | 15 | 24 | 28 | 44 | 47 | 15 | 47 | ||||||||||||||||
11 | 33 | 36 | 37 | 42 | 45 | 33 | 37 | 45 | |||||||||||||||
12 | 3 | 4 | 10 | 23 | 43 | 3 | 23 | 43 | |||||||||||||||
13 | 27 | 31 | 35 | 47 | 49 | 27 | 31 | 35 | 47 | 49 | |||||||||||||
14 | 1 | 4 | 10 | 19 | 23 | 1 | 19 | 23 | |||||||||||||||
15 | 14 | 15 | 28 | 35 | 40 | 15 | 35 | ||||||||||||||||
16 | 6 | 10 | 21 | 45 | 49 | 21 | 45 | 49 | |||||||||||||||
17 | 5 | 6 | 16 | 23 | 27 | 5 | 23 | 27 | |||||||||||||||
18 | 15 | 16 | 21 | 36 | 38 | 15 | 21 | ||||||||||||||||
19 | 1 | 3 | 21 | 32 | 39 | 1 | 3 | 21 | |||||||||||||||
20 | 15 | 29 | 37 | 39 | 49 | 15 | 29 | 37 | 39 | 49 | |||||||||||||
21 | 1 | 7 | 9 | 17 | 23 | 1 | 7 | 9 | 17 | 23 | |||||||||||||
22 | |||||||||||||||||||||||
Sheet1 |
Regards,
Moti