Hi,

Challenge:

There is a grid, see below.

For now only the X-axis is important. We have the X-coordinates of the gridlines.

Question:

There is a list of values (x-coordinates) and I want to retrieve the corresponding grid axis.

I managed to retrieve the specific grid-line name when the value is exactly on a gridline. see below.

However there is 1 more thing I would like to do:

When the value (x-coordinate) is not exactly on a gridline (but in between 2 letters), I would like to give it a name corresponding to the X-axis which is crossed + a number.

The number corresponds to the number of items which are in the same ‘domain’ (in between these 2 letters), and sorted to the x-direction. so for example list below of values should be;

2020-04-22 Grid value name.gh (13.0 KB)

If it is exactly on the grid axes the number has to be no number.

Any suggestions?

Thank you in advance