Results 1 to 2 of 2

Thread: Return blank cell instead of zero using GETPIVOTDATA (Excel for Mac 2011)

  1. #1
    Junior Member
    Join Date
    Apr 2012
    Posts
    1
    Rep Power
    0

    Return blank cell instead of zero using GETPIVOTDATA (Excel for Mac 2011)

    Trying to use ISERROR and "" (see formula below) to return blanks instead of zeros for a table that holds sales data for the calendar year -- need values for months that have no sales data to register as blanks instead of zeros to ensure accuracy of charts that are based on table.

    Am using Excel for Mac 2011.

    =IF(ISERROR(GETPIVOTDATA("Sum of Total Price (converted)",$1:$1048576,"Sales Operations Location","US","Close Month","5/1/12")),"",GETPIVOTDATA("Sum of Total Price (converted)",$1:$1048576,"Sales Operations Location","US","Close Month","5/1/12"))


    Any help that can be provided is much appreciated!

  2. #2
    Administrator Admin's Avatar
    Join Date
    Mar 2011
    Posts
    1,123
    Rep Power
    10
    Hi elandrajo,

    Welcome to Excel Fox !!!

    A guess,

    =IFERROR(IF(GETPIVOTDATA("Sum of Total Price (converted)",$1:$1048576,"Sales Operations Location","US","Close Month","5/1/12")=0,"",GETPIVOTDATA("Sum of Total Price (converted)",$1:$1048576,"Sales Operations Location","US","Close Month","5/1/12")),"")
    Cheers !

    Excel Range to BBCode Table
    Use Social Networking Tools If You Like the Answers !

    Message to Cross Posters

    @ Home - Office 2010/2013/2016 on Win 10 (64 bit); @ Work - Office 2016 on Win 10 (64 bit)

Similar Threads

  1. Replies: 6
    Last Post: 06-05-2013, 11:33 PM
  2. Replies: 8
    Last Post: 04-16-2013, 02:04 PM
  3. Autofill the data based on non blank cell in next row?
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 3
    Last Post: 11-29-2012, 04:16 PM
  4. Replies: 2
    Last Post: 09-24-2012, 11:19 PM
  5. VB code to Run formula untill blank cell
    By Rajesh Kr Joshi in forum Excel Help
    Replies: 8
    Last Post: 05-20-2012, 11:08 AM

Posting Permissions

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