Get Pivot Data Not Working

Dastnai

New Member
Joined
Oct 26, 2018
Messages
45
I am using the following formula to bring in data from a table but I am getting a reference error. =Getpivotdata("Value",Pivot absolute reference,"Date",cell reference A date,"TL",cell reference a TL" Here is my pivot table. Any help would be greatly appreciated.

[TABLE="width: 915"]
<colgroup><col><col><col><col><col><col span="4"></colgroup><tbody>[TR]
[TD]Sum of Value[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD]Date[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TL[/TD]
[TD]Price[/TD]
[TD]Grade[/TD]
[TD]Customer[/TD]
[TD]Total Costs $/ton[/TD]
[TD="align: right"]12/3/2018[/TD]
[TD="align: right"]12/4/2018[/TD]
[TD="align: right"]12/5/2018[/TD]
[TD="align: right"]12/6/2018[/TD]
[/TR]
[TR]
[TD]BENWOOD - CIG[/TD]
[TD]$50[/TD]
[TD]100M[/TD]
[TD]HALLIBURTON[/TD]
[TD]$15.83[/TD]
[TD="align: right"]560[/TD]
[TD="align: right"]560[/TD]
[TD="align: right"]560[/TD]
[TD="align: right"]560[/TD]
[/TR]
[TR]
[TD]CHEYENNE - GRANITE PEAK[/TD]
[TD][Hold][/TD]
[TD]2040[/TD]
[TD]SCHLUMBERGER[/TD]
[TD]$12.34[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]385[/TD]
[TD="align: right"]385[/TD]
[/TR]
[TR]
[TD]FAIRMONT - TRANSFLO[/TD]
[TD]$50[/TD]
[TD]100M[/TD]
[TD]HALLIBURTON[/TD]
[TD]$12.34[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]200[/TD]
[TD="align: right"]200[/TD]
[/TR]
[TR]
[TD]FAIRMONT - TRANSFLO[/TD]
[TD]$53[/TD]
[TD]3050[/TD]
[TD]HALLIBURTON[/TD]
[TD]$12.34[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]MCKEES ROCKS - MRIE[/TD]
[TD]$53[/TD]
[TD]3050[/TD]
[TD]HALLIBURTON[/TD]
[TD]$12.34[/TD]
[TD="align: right"]220[/TD]
[TD="align: right"]220[/TD]
[TD="align: right"]220[/TD]
[TD="align: right"]220[/TD]
[/TR]
[TR]
[TD]STEUBENVILLE - TIDEWATER[/TD]
[TD]$55 STEUB[/TD]
[TD]4070[/TD]
[TD]HALLIBURTON[/TD]
[TD]$15.83[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]TYLER DIRECT[/TD]
[TD][/TD]
[TD]4070-SP[/TD]
[TD]VALENCE[/TD]
[TD]#N/A[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]400[/TD]
[TD="align: right"]400[/TD]
[/TR]
[TR]
[TD]TYLER DIRECT[/TD]
[TD][Hold][/TD]
[TD]100M[/TD]
[TD]SCHLUMBERGER[/TD]
[TD]#N/A[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]428[/TD]
[TD="align: right"]428[/TD]
[/TR]
[TR]
[TD]TYLER DIRECT[/TD]
[TD][Hold][/TD]
[TD]4070-SP[/TD]
[TD]SCHLUMBERGER[/TD]
[TD]#N/A[/TD]
[TD][/TD]
[TD][/TD]
[TD="align: right"]1442[/TD]
[TD="align: right"]1442[/TD]
[/TR]
[TR]
[TD]WASHINGTON - MRIE[/TD]
[TD]P1 [Hold][/TD]
[TD]4070[/TD]
[TD]UNIVERSAL[/TD]
[TD]$0.00[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
 

Excel Facts

Round to nearest half hour?
Use =MROUND(A2,"0:30") to round to nearest half hour. Use =CEILING(A2,"0:30") to round to next half hour.
The date reference must have a corresponding TL for the formula to be valid
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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