dot-checkRange function

Check Data Range -- function that checks for allowable values