I was going to try to do a quick macro to do this but the merged cells and sideways text orientation complicate things a bit. Unfortunately that is more effort than I can provide.

I don't know of another way to do this but hopefully someone else can join the conversation with other ideas.