1. if ( ismissing(mylsl), print("lsl missing"), print(mylsl))
2. Here's an example of a much less convoluted way to get the spec limits than the one I originally posted. Again it assumes there are spec limits for Oxy which you could test for as above using if(ismissing(lsl), ...,...).