mikestewart27
New Member
- Joined
- Sep 29, 2006
- Messages
- 3
Hello
I have an excel pivot table with a large quantity of figures in it. The data I want to sum is a series of numbers in the 'Row' section of the pivot table (i cannot put this in the data section of the pivot table as I want both the details of the numbers and one field that totals the section).
I can manually do a sum by typing =sum(myLabelName) in the formula box in a blank field and this will automatically update as the pivot table is expanded and contracted. However as i move the fields about in the pivot table the formula will not follow my label, but instead do a sum of whatever is now in that column.
Is there a macro or formula or method that can identify what column my field is in and perform a calucation on that field even if pivot table is reorganised?
Any help (today would be fantastic) would be much appreciated!!
Cheers
Mike
I have an excel pivot table with a large quantity of figures in it. The data I want to sum is a series of numbers in the 'Row' section of the pivot table (i cannot put this in the data section of the pivot table as I want both the details of the numbers and one field that totals the section).
I can manually do a sum by typing =sum(myLabelName) in the formula box in a blank field and this will automatically update as the pivot table is expanded and contracted. However as i move the fields about in the pivot table the formula will not follow my label, but instead do a sum of whatever is now in that column.
Is there a macro or formula or method that can identify what column my field is in and perform a calucation on that field even if pivot table is reorganised?
Any help (today would be fantastic) would be much appreciated!!
Cheers
Mike