autofilling equations from pivot tables across worksheets

Michaelson

New Member
Joined
Aug 14, 2011
Messages
14
I posted about this in this thread but it was a kind of long an unwieldy OP with a vague title and I don't expect it to get a response. I'll try to be more specific and to the point here.

I'm using Windows XP and Excel 2007.

I have a bunch of data in pivot tables that I'm using as source data to generate specific statistics in a separate worksheet.

Pivot table:
pivottables.jpg


Stats sheet:
extracteddata.jpg


Basically I've been entering the formulas for the stats sheet into into every cell individually, but I'm hoping to get autofill working to speed things up and avoid careless errors as much as possible.

So in the picture from the stats sheet the average Gold Coast 'Second Half For' value is derived by the formula
=('PT1'!P8+'PT1'!P29)/('PT1'!K29+'PT1'!K8)
If I highlight that cell and drag the fill handle across, however, in the cell for Manly's average 'Second Half For' it pastes the formula
=('PT1'!Q8+'PT1'!Q29)/('PT1'!L8+'PT1'!L29)
which is incorrect. If you have a look at the pivot table what I need is for it to generate the formula
=('PT1'!P9+'PT1'!P30)/('PT1'!K9+'PT1'!K30)

So basically the auto fill is scrolling across the pivot table table rather than down it. Is there any way to rectify that and have it generate the correct formula? From my searching of the forum it looked like I might have to consider macros, but as I have no idea whatsoever what they are I was hoping there might be an easier fix!

Thanks in advance, and apologies for the double post.
 

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)

Forum statistics

Threads
1,224,514
Messages
6,179,223
Members
452,896
Latest member
IGT

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top