thanks for trying but what you are showing is when the cell is alligned to the right.
What I am refering to is when the column that you want to group by is the rightmost column in the table like in the follwing screen shot:
the rightmost column A summarizescolumn B and column B summerizes column C.
I want columns A and B to collapse and expand to enable grouping/
I hope this makes the issue clearer