Solved

Pivot Table total to sum over #N/A values

Posted on 2011-09-14
3
255 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Dealing with unintended Excel Active-X resizing quirks (VBA code simulates "self correction") David Miller (dlmille) Intro Not everyone is a fan of Active-X controls in spreadsheets (as opposed to the UserForm approach, the older Form controls …
Introduction While answering a recent question (http:/Q_27311462.html), I created an alternative function to the Excel Concatenate() function that you might find useful.  I tested several solutions and share the results in this article as well as t…
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…
This Micro Tutorial demonstrates in Microsoft Excel how to consolidate your marketing data by creating an interactive charts using form controls. This creates cool drop-downs for viewers of your chart to choose from.

744 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

10 Experts available now in Live!

Get 1:1 Help Now