Dynamic Getpivotdata in Excel XP

V

valglad

Folks


I urgently need help with this function.


I'm trying to make this function dynamic, i.e.


depending on some condition, make some members disappear or otherwise.


=getpivotdata("Loads",'Pivot Plan'!$a$3,"SHIPTO",A1,"MILL",B1 &
IF(D1="ALL","",","&"PRODUCT LINE")&IF(D1="ALL","",","&"LINE1"))


If cell D1 has value "ALL" then both "Product Line" and its value
("LINE1") are not used, if otherwise they should be used.


I've wasted hours playing with syntax, such as putting commas into
separate "if" statements, nothing works.


Appreciate any help.


Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top