excelsishya
Board Regular
- Joined
- Jul 25, 2010
- Messages
- 107
Hi all ,
I am in need of code which can group data range based on subtotal formula.
a1 1
a2 3
a3 4
a4 =subtotal(9,a1:a3)
a5=7
a6=1
a7=2
a8=subtotal(9,a6:a7)
i am using excel 2007
desired output
grouping a1 :a3 and a6:a7 as they have subtotal formula
after grouping in collapse mode
a4
a5
a8
Thanks
I am in need of code which can group data range based on subtotal formula.
a1 1
a2 3
a3 4
a4 =subtotal(9,a1:a3)
a5=7
a6=1
a7=2
a8=subtotal(9,a6:a7)
i am using excel 2007
desired output
grouping a1 :a3 and a6:a7 as they have subtotal formula
after grouping in collapse mode
a4
a5
a8
Thanks