• Thanks Matt. I'm studying your solution.

    Sorry about the incorrect desired results as Douglas H pointed out.