Hey Experts,
I have a very large data set in which I need a VBA code to extract a value when a certain number is crossed. A simplified example would be
D Time0 1
2 2
2.5 3
3.5 4
4.1 5
4.2 6
8.2 7
9.3 8
10.1 9
11.2 10
13.5 11
13.2 12
11.1 13
10.2 14
9.6 15
5.2 16
2.1 17
2.5 18
2.8 19
3.6 20
5.8 21
9 22
10.2 23
12 24
In the example above, the code would populate every time the value 10 was crossed/or the value that is closest to it, could be 9.99. So in a different part of the sheet (say C1) the following values would be plotted
D Time
10.1 9
10.2 14
10.2 23
One last thing is the value 10 needs to be changeable when I run it on different data sets.
Is this possible!? I'm on a boat in the middle of the sea where the internet is very limited. Cry me a river
Thank you for any help
I have a very large data set in which I need a VBA code to extract a value when a certain number is crossed. A simplified example would be
D Time0 1
2 2
2.5 3
3.5 4
4.1 5
4.2 6
8.2 7
9.3 8
10.1 9
11.2 10
13.5 11
13.2 12
11.1 13
10.2 14
9.6 15
5.2 16
2.1 17
2.5 18
2.8 19
3.6 20
5.8 21
9 22
10.2 23
12 24
In the example above, the code would populate every time the value 10 was crossed/or the value that is closest to it, could be 9.99. So in a different part of the sheet (say C1) the following values would be plotted
D Time
10.1 9
10.2 14
10.2 23
One last thing is the value 10 needs to be changeable when I run it on different data sets.
Is this possible!? I'm on a boat in the middle of the sea where the internet is very limited. Cry me a river
Thank you for any help