Hello
I have X and Y coordinates stored in two columns. I want to enter an X and Y coordinate in to my Userform and get the closest, greater X coordinate with the same Y value.
I thought this would be easy, but I can’t figure out how to do this.
A simplified Example:
If I enter Y =3 and X =35 (Row 6) in to the textboxes in the userform, I would like a msgbox with the value 60 (row 12).
Grateful for all ideas.
Thanks in advance
Ulf
I have X and Y coordinates stored in two columns. I want to enter an X and Y coordinate in to my Userform and get the closest, greater X coordinate with the same Y value.
I thought this would be easy, but I can’t figure out how to do this.
A simplified Example:
If I enter Y =3 and X =35 (Row 6) in to the textboxes in the userform, I would like a msgbox with the value 60 (row 12).
Grateful for all ideas.
Thanks in advance
Ulf