I have a list as data which is uploaded here, due to its long length. We
can consider to the list as a collection of {x,y} pairs.
Please consider a value for example 3.63, above this value we first arrive 4.814 (we called it y2), and below this value we first arrive 3.08 (we called it y1). As far as we can see, they (3.08 and 4.814) are y with any x.
I want to access {y1,y2,y2-y1} that are the nearer ys to a special value which is 3.63 here. For example I found here the triple collection is {3.08, 4.814, 1.734}.
In a plot we can show the aim as the below plot in which y1 and y2 are highlighted.

y1andy2? – Henrik Schumacher Jan 12 '18 at 16:06Get Coordinateswhen you have the actual input data available? – george2079 Jan 12 '18 at 16:18{3.63, 3.63, 0}the correct output, if one of your{x,y}hasy == 3.63? – Coolwater Jan 12 '18 at 20:17