Hello,
I am trying to program in VBA.
I have the following table:
53 40
62 50
70 60
68 70
68 80
48 90
55 100
I need to return in a third column the following:
- 53 rows in which it returns the value of 40
- 62 rows in which it returns the value of 50
etc...
so I would have something like this:
53 40 40
62 50 40
70 60 40
68 70 40
68 80 ... (to row 53)
48 90 50 (from row 54)
55 100 50 (to row 54+62) etc...
I have attached an example and how I did it but manually for the first two values. I need it to repeat this for as much values as I have in column A & B.
Help please,
Thanks
Bookmarks