Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
Solved

# Excel 2010 --> Pivot Table "Distinct" value needed

Posted on 2014-02-11
Medium Priority
152 Views
We have a query that we need the "distinct" value count.

On the attached screenshot, you will see per week we need a count of locations that ordered.  not the "# of orders".

For example,  Fort Bragg Honeycutt Shoppette has 2 orders for the week of 12/2/2013.  We want to only have it count "1" because they ordered.

I have found that there is an add-on, but we are not permitted to install on the Company's Terminal Server.

pivot-screenshot.jpg
0
Question by:sharpapproach
[X]
###### Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

• Help others & share knowledge
• Earn cash & points

LVL 43

Expert Comment

ID: 39855102
Are you able to attach the workbook, or sample, as it may be possible to add an array formula against your source data, like the attached sample

{=MAX(IF(C2=\$C\$2:\$C\$100,IF(F2=\$F\$2:\$F\$100,\$D\$2:\$D\$100,0),0))}
0

LVL 4

Accepted Solution

Jorgen earned 2000 total points
ID: 39856867
Hi SharpApproach

I believe, that I solved a similar problem for a colleague last week (at least if I understand your question correctly).

I have attached the file, and in the file, you can see where I found my inspiration. I used two "Help Columns in my dataset - which did the trick.

I can not see which version of Excel you have, but in 2013 you should be able to use "Distinct Count" in your pivot, which is doing the same as I do in the attached file.

regards

Jørgen
Count-Text-in-Pivot.xlsx
0

## Featured Post

Question has a verified solution.

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

This article descibes how to create a connection between Excel and SAP and how to move data from Excel to SAP or the other way around.
Access developers frequently have requirements to interact with Excel (import from or output to) in their applications.  You might be able to accomplish this with the TransferSpreadsheet and OutputTo methods, but in this series of articles I will di…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.
###### Suggested Courses
Course of the Month6 days, left to enroll