southcali12
New Member
- Joined
- Sep 22, 2015
- Messages
- 28
Hi,
I am trying to use the GETPIVOTDATA formula to fill in the table below:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]12/7/2015
[/TD]
[TD]12/8/2015
[/TD]
[TD]12/9/2015
[/TD]
[TD]12/10/2015
[/TD]
[TD]12/11/2015
[/TD]
[/TR]
[TR]
[TD]Sales
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My pivot table looks like such:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]Sales
[/TD]
[/TR]
[TR]
[TD]12/7/2015
[/TD]
[TD]300
[/TD]
[/TR]
[TR]
[TD]12/8/2015
[/TD]
[TD]120
[/TD]
[/TR]
[TR]
[TD]12/9/2015
[/TD]
[TD]150
[/TD]
[/TR]
[TR]
[TD]12/10/2015
[/TD]
[TD]500
[/TD]
[/TR]
</tbody>[/TABLE]
The formula I have written is:
=GETPIVOTDATA("Sales",$A$3,"Date",H1)
So for example $A$3 is where the Date is located in the pivot table and H1 is the date.
Any advice would be greatly appreciated. Thank you!
I am trying to use the GETPIVOTDATA formula to fill in the table below:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]12/7/2015
[/TD]
[TD]12/8/2015
[/TD]
[TD]12/9/2015
[/TD]
[TD]12/10/2015
[/TD]
[TD]12/11/2015
[/TD]
[/TR]
[TR]
[TD]Sales
[/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
My pivot table looks like such:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Date
[/TD]
[TD]Sales
[/TD]
[/TR]
[TR]
[TD]12/7/2015
[/TD]
[TD]300
[/TD]
[/TR]
[TR]
[TD]12/8/2015
[/TD]
[TD]120
[/TD]
[/TR]
[TR]
[TD]12/9/2015
[/TD]
[TD]150
[/TD]
[/TR]
[TR]
[TD]12/10/2015
[/TD]
[TD]500
[/TD]
[/TR]
</tbody>[/TABLE]
The formula I have written is:
=GETPIVOTDATA("Sales",$A$3,"Date",H1)
So for example $A$3 is where the Date is located in the pivot table and H1 is the date.
Any advice would be greatly appreciated. Thank you!