I haven't had chance to test this but the mathematics look correct.
However, ideally I need to be able to store each value selected - and then loop through them to perform an operation on each one.
Edit: Although, as I'll know the Max and Min (and whether or not they are in succession) I should be able to use a For Loop... if I manage using this method I will mark your post as "Correct" :-)
Message was edited by: bainsteven
I noticed that you are evaluating GetFieldSelections in a macro like this
i.e. you are getting a string back, right?
I think there a probably better ways to handle this if you need to look at the separate values anyway, maybe like
Hope this helps,