A bit of a complex procedure for such a simple task but I got to learn about new functions... Many thanks!