Did you ever get a response?
Not certain I understand what you want but see the attached
I was a little confused about the "group lines?" then I looked ar your workbook and saw you used region - is that what you meant?
any way a couple ways to consider
If this posts assists in resolving the question, please mark it helpful or as the 'correct answer' if it resolves the question. This will help other users find the same answer/resolution. Thank you.