Hello all,
I've got a list of data in the following format:
Name Date StartMetrage EndMetrage
The start and end metrages are locations along a railway line where we have surveyed the track centreline. I would like to be able to look up a specific metrage and test whether it falls within any of the metrage ranges in the data set above. For example, say I want to look up metrage 1.245 and see whether it falls within ranges 2.5-6.4, and 0.2-1.8. In this case, the answer would be 'true'.
Note that in the list of ranges there are several which overlap. I'm just looking to test if a value shows up in any of the ranges, so multiple positive results should just return 'true'.
I've been trying Array functions and Vlookup but I'm not good with either of these so have yet to be successful. Is there a better way?
Thanks!
I've got a list of data in the following format:
Name Date StartMetrage EndMetrage
The start and end metrages are locations along a railway line where we have surveyed the track centreline. I would like to be able to look up a specific metrage and test whether it falls within any of the metrage ranges in the data set above. For example, say I want to look up metrage 1.245 and see whether it falls within ranges 2.5-6.4, and 0.2-1.8. In this case, the answer would be 'true'.
Note that in the list of ranges there are several which overlap. I'm just looking to test if a value shows up in any of the ranges, so multiple positive results should just return 'true'.
I've been trying Array functions and Vlookup but I'm not good with either of these so have yet to be successful. Is there a better way?
Thanks!