Consulting

Results 1 to 2 of 2

Thread: Return "0" instead of "N/A" in Pivot Table reference

  1. #1

    Return "0" instead of "N/A" in Pivot Table reference

    what's the best, easiest way to just return a "0" instead of N/A's when referencing data in a pivot table? what should I add to my formula below?

    here's my current pivot table reference:
    =GETPIVOTDATA("Sum of Component Total",'Bing-Rev'!$A$3,"Order date",DATE(2010,11,1),"Type","order_line_item")

    Thanks!

  2. #2
    VBAX Regular
    Joined
    Apr 2008
    Posts
    65
    Location
    You should be triggering an error when the value isn't present so just add an "On Error" command that sends it to an instruction that sets the return value to zero if the GETPIVOT triggers an error.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •