michaelsmith559
Well-known Member
- Joined
- Oct 6, 2013
- Messages
- 881
- Office Version
- 2013
- 2007
In the example, I am going down column B. Column F lists the values and Column G lists the row range for that value. I want to be able to do this for each column. The columns start in row 1 and go until row 1048576. Looking for a quick vba solution for the problem. Thanks for any help.
Book1 | |||||||||
---|---|---|---|---|---|---|---|---|---|
A | B | C | D | E | F | G | |||
1 | 10 | 15 | 32 | 37 | 44 | Value | Rows | ||
2 | 10 | 15 | 32 | 37 | 45 | 15 | 1 | ||
3 | 10 | 15 | 32 | 37 | 46 | 8991 | |||
4 | 10 | 15 | 32 | 37 | 47 | 16 | 8992 | ||
5 | 10 | 15 | 32 | 37 | 48 | 33795 | |||
6 | 10 | 15 | 32 | 37 | 49 | 17 | 33796 | ||
7 | 10 | 15 | 32 | 37 | 50 | 57221 | |||
8 | 10 | 15 | 32 | 37 | 51 | 15 | 437883 | ||
9 | 10 | 15 | 32 | 37 | 52 | 464117 | |||
10 | 10 | 15 | 32 | 37 | 53 | ||||
11 | 10 | 15 | 32 | 37 | 54 | ||||
12 | 10 | 15 | 32 | 37 | 55 | ||||
13 | 10 | 15 | 32 | 37 | 56 | ||||
14 | 10 | 15 | 32 | 37 | 57 | ||||
15 | 10 | 15 | 32 | 37 | 58 | ||||
Sheet1 |