ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   can you use a variable or cell reference in a getpivotdata formul. (https://www.excelbanter.com/excel-worksheet-functions/5953-can-you-use-variable-cell-reference-getpivotdata-formul.html)

stevec

can you use a variable or cell reference in a getpivotdata formul.
 
for example;

GETPIVOTDATA($B$7,"may 2004 grand total")

can "may 2004" be a cell reference

kraljb


You can do that, it would read like so:

GETPIVOTDATA($B$7, $A$1 & " Grand Total")


--
kraljb
------------------------------------------------------------------------
kraljb's Profile: http://www.excelforum.com/member.php...fo&userid=9955
View this thread: http://www.excelforum.com/showthread...hreadid=276387



All times are GMT +1. The time now is 03:36 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com