Forum

Notifications
Clear all

Getpivotdata formula

5 Posts
3 Users
0 Reactions
182 Views
(@bigroo)
Posts: 16
Eminent Member
Topic starter
 

Hi Everyone,

 

I am looking for some assistance here!

On the attached spreadsheet, under "Driver Productivity", I have a pivot table on the left. Under columns I to L, I am using averageif formula to get the results I am looking for, but when the pivot table expands, I have to change the range.

Under columns N to Q I wish to use the getpivtodata function to get the same results and plus add in the date within cell B1.

 

I hope this makes sense!

Thanks

 
Posted : 09/07/2016 4:26 pm
(@fravis)
Posts: 337
Reputable Member
 

No attached spreadsheet??? (you seem to have to press an extra upload button)

 
Posted : 09/07/2016 5:14 pm
(@bigroo)
Posts: 16
Eminent Member
Topic starter
 

Sorry, I thought I added.

 
Posted : 10/07/2016 7:50 am
(@sunnykow)
Posts: 1417
Noble Member
 

Hi James

Why don't you drop the Hrs/Load field into the Values area and Summarize Values By Average?

It will give you the same answer as your AVERAGEIF formula plus you don't have to worry about the expanding/contracting Pivot Table.

Sunny Kow

 
Posted : 11/07/2016 2:26 am
(@bigroo)
Posts: 16
Eminent Member
Topic starter
 

Hi Sunny Kow,

Thanks for the reply. This has helped me get the results I needed, plus I have worked out the second part of the getpivotdata formula to include the date.

Thanks again!!

 
Posted : 11/07/2016 7:56 pm
Share: