About the phrase "...you are interested in."

I was told in school that you should never end a sentence with the word "in". In spoken English, this phrase sounds perfectly normal. But in written...