Hello,
I need a macro help, which can find the missing numbers missing from 1 to 30 in the various ranges.
When I run the macro it must find missing numbers "from 1 to 30" within 5 rows and 5 columns range but these ranges are variable till end of the data.
For example...
1st starting ranges 5 rows and 5 columns = C3:G7, Missing number in the Cell I7 to right
2nd starting ranges 5 rows and 5 columns = C4:G8, Missing number in the Cell I8 to right
3rd starting ranges 5 rows and 5 columns = C5:G9, Missing number in the Cell I9 to right
4th starting ranges 5 rows and 5 columns = C6:G10, Missing number in the Cell I10 to right... and so on till end of the data
Example sheet1 also image attached
Thank you all.
I am using Excel 2000
Regards,
Moti
I need a macro help, which can find the missing numbers missing from 1 to 30 in the various ranges.
When I run the macro it must find missing numbers "from 1 to 30" within 5 rows and 5 columns range but these ranges are variable till end of the data.
For example...
1st starting ranges 5 rows and 5 columns = C3:G7, Missing number in the Cell I7 to right
2nd starting ranges 5 rows and 5 columns = C4:G8, Missing number in the Cell I8 to right
3rd starting ranges 5 rows and 5 columns = C5:G9, Missing number in the Cell I9 to right
4th starting ranges 5 rows and 5 columns = C6:G10, Missing number in the Cell I10 to right... and so on till end of the data
Example sheet1 also image attached
* | A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X |
1 | ||||||||||||||||||||||||
2 | Rn1 | Rn2 | Rn3 | Rn4 | Rn5 | |||||||||||||||||||
3 | 2 | 7 | 28 | 22 | 13 | |||||||||||||||||||
4 | 24 | 20 | 11 | 23 | 12 | |||||||||||||||||||
5 | 11 | 18 | 28 | 1 | 29 | |||||||||||||||||||
6 | 9 | 6 | 9 | 17 | 8 | |||||||||||||||||||
7 | 22 | 11 | 24 | 7 | 26 | 3 | 4 | 5 | 10 | 14 | 15 | 16 | 19 | 21 | 25 | 27 | 30 | 26 | 28 | |||||
8 | 20 | 21 | 9 | 12 | 20 | 2 | 3 | 5 | 10 | 13 | 15 | 19 | 27 | |||||||||||
9 | 30 | 16 | 25 | 14 | 4 | 2 | 3 | 5 | 10 | 13 | 15 | 23 | 27 | |||||||||||
10 | 4 | 17 | 19 | 14 | 6 | 1 | 2 | 3 | 10 | 13 | 15 | 23 | 27 | 28 | 29 | |||||||||
11 | 22 | 5 | 16 | 25 | 18 | |||||||||||||||||||
12 | 21 | 23 | 21 | 25 | 25 | |||||||||||||||||||
13 | 2 | 2 | 14 | 12 | 20 | |||||||||||||||||||
14 | 7 | 22 | 23 | 29 | 18 | |||||||||||||||||||
15 | 17 | 13 | 4 | 22 | 21 | |||||||||||||||||||
16 | 4 | 9 | 17 | 22 | 5 | |||||||||||||||||||
17 | 2 | 9 | 13 | 26 | 18 | |||||||||||||||||||
18 | 9 | 17 | 7 | 3 | 6 | |||||||||||||||||||
19 | ||||||||||||||||||||||||
20 | ||||||||||||||||||||||||
21 |
Thank you all.
I am using Excel 2000
Regards,
Moti