Hi!
This will give you the output you want, for your sample input but... it only
works if your "Dimesion" values are unique.
Consider your first column (the "COL0" elements): A-A-A-B-B-C This is OK.
But if you would replace the last 'C' with an 'A'
(A-A-A-B-B-A) it doesn't work anymore because you would get a rowspan="4"
instead of 3.
Unfortunatly they aren't unique...
I hope this solution is sufficient for you, because if you really need to
calculate only consecutive equal values, I'm stuck...
Anyway, thanks.
best regards
Anton Wardaschko