View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Greg Lovern Greg Lovern is offline
external usenet poster
 
Posts: 224
Default GETPIVOTDATA function on pivot filter

Can the GETPIVOTDATA function be used to return the pivot filter?

For example, if I put the "State" field in the filter section in the
pivot designer, so that I can filter the pivot on state, and choose,
say, Oregon in the pivot's filter dropdown, so the pivot is now
filtered on Oregon, can GETPIVOTDATA return "Oregon"?

I've tried "State" and "Filter", and both return "#REF!":
=GETPIVOTDATA("State", $A$1)
=GETPIVOTDATA("State", $A$3)
=GETPIVOTDATA("Filter", $A$1)
=GETPIVOTDATA("Filter", $A$3)



Thanks,

Greg