Hello All
So, I have a column with sequential numbers, every so often there is a word. For an example I will say after every 5 numbers the word stop appears. So something like
1, 2, 3, 4, 5, stop, 6, 7, 8, 9, 10, stop, 11, 12, 13.... I am trying to figure out a way in VBA to lookup a specified number that will give me the result of the number previous to the closest "stop"
Example 1 gives 5 as well as 2, 3, 4, 5. Then 6 would give 10 as well *** 7, 8, 9, 10. and so on. I hope that I explained this ok. Any help would be appreciated.
Thanks
So, I have a column with sequential numbers, every so often there is a word. For an example I will say after every 5 numbers the word stop appears. So something like
1, 2, 3, 4, 5, stop, 6, 7, 8, 9, 10, stop, 11, 12, 13.... I am trying to figure out a way in VBA to lookup a specified number that will give me the result of the number previous to the closest "stop"
Example 1 gives 5 as well as 2, 3, 4, 5. Then 6 would give 10 as well *** 7, 8, 9, 10. and so on. I hope that I explained this ok. Any help would be appreciated.
Thanks