I have a list where i have a specific number of rows needed for each object ID. However i cant for the life of me think of a quick way to do it. I know there is a way to do it by transforming but keep running into issues
Table below. Small example below but this goes to 7000 object IDs. The idea would be that I run some code and in column A it would have the Object ID 1 twice, then below it the Object ID2 three times then the object id 3 6 times and so on, does this make sense?
Happy to use formulas or code whichever gets the result really, thanks in advance
Table below. Small example below but this goes to 7000 object IDs. The idea would be that I run some code and in column A it would have the Object ID 1 twice, then below it the Object ID2 three times then the object id 3 6 times and so on, does this make sense?
OBJECTID | Rows Needed |
1 | 2 |
2 | 3 |
3 | 6 |
4 | 2 |
5 | 2 |
6 | 3 |
7 | 3 |
8 | 3 |
9 | 3 |
10 | 3 |
Happy to use formulas or code whichever gets the result really, thanks in advance