Maybe PID where the level value would be Process Variable (PV), your highest fixed volume would be Set Point, Control Variable could be attached to N7:20.
If you manage to determine the range that Control Variable would go through, see below, then keep reading N7:20 and compare its value to your fixed values to determine when there is a match, you might need to do it in code and use Select Case in VB or Switch in C#, with cases corresponding to your fixed values from the csv.
Mapping one numeric range onto another:
If you have number x in the range [a,b] and you want to transform it to number y in the range [c,d], you need to do this:
y = (x − a) * ((d − c) / (b − a)) + c
It might also be as simple as just mapping N7:10 range to your fixed values range and only reading N7:10 and comparing it. For comparison of <= or >= you would probably have to use If statements instead of Select Case / Switch.
Not that I've tried any of these but if you find anything useful then go for it.