logandiana
Board Regular
- Joined
- Feb 21, 2017
- Messages
- 107
I've used VBA before for something similar, but that was when I had some helper tables. Not sure where to begin with this one.
Basically for each range, I need to assign a sequential number to the range, and then I need to assign a sequential number to each row within the range.
Here's what I've got:
<tbody>
</tbody>
And here's what I need using VBA:
<tbody>
</tbody>
Basically for each range, I need to assign a sequential number to the range, and then I need to assign a sequential number to each row within the range.
Here's what I've got:
A | ||
A | ||
A | ||
A | ||
B | ||
B | ||
B | ||
C | ||
C | ||
D | ||
D | ||
D | ||
D | ||
D | ||
D | ||
D | ||
E | ||
E | ||
F | ||
F |
<tbody>
</tbody>
And here's what I need using VBA:
A | 1 | 1 |
A | 1 | 2 |
A | 1 | 3 |
A | 1 | 4 |
B | 2 | 1 |
B | 2 | 2 |
B | 2 | 3 |
C | 3 | 1 |
C | 3 | 2 |
D | 4 | 1 |
D | 4 | 2 |
D | 4 | 3 |
D | 4 | 4 |
D | 4 | 5 |
D | 4 | 6 |
D | 4 | 7 |
E | 5 | 1 |
E | 5 | 2 |
F | 6 | 1 |
F | 6 | 2 |
<tbody>
</tbody>