Need help in Excel formulae writimg, for pivot data cell reference in a different tab

soma06_bhat

New Member
Joined
Aug 16, 2016
Messages
1
I am using below formula to fetch data which in a different tab in pivot and paste that in another tab.
Now the problem is I am getting a #ref message while using this formula,

=getpivotdata("[Measures].[cancel]'.pivot!$c13,"[month]','[month].
[month].&[2016-04-30]',[characteristics].[primary]',
[characteristics].primary&[$c$12]",
[characteristics].[secondary]",&[$c$22]"

when I am using the direct data of cell no c22 and c13 its working but I want to use the cell reference for both these cells and also wondering if I Can map the date automatically using formula so that leapyear days are calculated automatically instead of specifying it month wise as I did above in the formula.

Please let me know your suggestions. Thank you!!
 

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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