Watersev that works brill, however the last condition code is missing. Any idea's on what else I have got wrong ?

Thanks again