Solved

Pivot Table total to sum over #N/A values

Posted on 2011-09-14
3
262 Views
Last Modified: 2012-05-12
Hi Experts,

I have a pivot table that has balances in it.  The source data has some balances that have #N/A values due to a VLOOKUP.

WIthout modifying the source data, how would I go about modifying the total displayed in the Pivot Table so that it sums everything in a column except for the #N/A values?

Thanks,
rav
0
Comment
Question by:rav_rav
3 Comments
 
LVL 92

Accepted Solution

by:
Patrick Matthews earned 250 total points
ID: 36538910
Modifyv your vlookup so that it returns 0 instead of #n/a:

=if(isna(vlookup(...)),0,vlookup(...))
0
 
LVL 27

Assisted Solution

by:Glenn Ray
Glenn Ray earned 250 total points
ID: 36539473
Create a calculated field in your Pivot Table that checks for #N/A and returns an alternate result.

For example, if the field name in question is "Sales" then create a calculated field called "Sales Value" with the formula:
=if(isna(Sales),0,Sales)

Instead of zero ("0") as the return value above, you should also be able to return "N/A" (text) and still have the values calculated properly in the pivot table.
0
 

Author Closing Comment

by:rav_rav
ID: 36577131
Sorry for the delayed response folks.
Thanks for your help.
rav
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction This Article is a follow-up to my Mappit! Addin Article (http://www.experts-exchange.com/A_2613.html), it was inspired by an email posting I made to EUSPRIG (http://www.eusprig.org/index.htm), I will briefly cover: 1) An overvie…
Improved? Move/Copy Add-in Replacement - How to avoid the annoying, “A formula or sheet you want to move or copy contains the name XXX, which already exists on the destination worksheet.” David Miller (dlmille)  It was one of those days… I wa…
Graphs within dashboards are meant to be dynamic, representing data from a period of time that will change each time the dashboard is updated with new data. Rather than update each graph to point to a different set within a static set of data, t…
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now