CLAMP formula

this seems to be the easiest formula i can come up with. so it's sort of final and everything else has been deleted.