add data to model option for building unique count pivots ...

%3CLINGO-SUB%20id%3D%22lingo-sub-2004332%22%20slang%3D%22en-US%22%3Eadd%20data%20to%20model%20option%20for%20building%20unique%20count%20pivots%20...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2004332%22%20slang%3D%22en-US%22%3E%3CP%3EHi%3C%2FP%3E%3CP%3Ehi!%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3BI%20am%20using%20excel%20version%2016.44%20on%20a%20MAC.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20trying%20to%20build%20a%20pivot%20table%20that%20will%20return%20unique%20counts.%20The%20add%20to%20data%20model%20option%20is%20not%20available%20in%20my%20version.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20dealing%20with%20a%20large%20amount%20of%20data%20that%20has%20duplicates%20and%20I%20want%20to%20pivot%20and%20sum%20the%20unique%20count%20of%20values.%20%26nbsp%3B%3C%2FP%3E%3CP%3EAny%20thoughts%20on%20why%20from%20the%20group%3F%26nbsp%3B%3C%2FP%3E%3CP%3EThank%20you!%3C%2FP%3E%3CP%3ECourtney%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2004332%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EExcel%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EFormulas%20and%20Functions%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2004351%22%20slang%3D%22en-US%22%3ERe%3A%20add%20data%20to%20model%20option%20for%20building%20unique%20count%20pivots%20...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2004351%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F907318%22%20target%3D%22_blank%22%3E%40cujstoner%3C%2FA%3E%26nbsp%3BNot%20sure%20what%20you%20want%20to%20count.%20Currently%20your%20pivot%20table%20counts%20%22Tag%201%22%2C%20not%20%22Review%20ID%22%20which%20is%20in%20column%20A.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20regard%20to%20Data%20Model%2C%20that's%20NOT%20supported%20by%20any%20Excel%20version%20for%20the%20Mac%2C%20unfortunately.%20Windows%20only!%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2004450%22%20slang%3D%22en-US%22%3ERe%3A%20add%20data%20to%20model%20option%20for%20building%20unique%20count%20pivots%20...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2004450%22%20slang%3D%22en-US%22%3E%3CP%3EYes.%20At%20the%20review%20ID%20level%2C%20display%20in%20a%20row%20the%20list%20of%20tags%20and%20then%20count%201%20(unique%20or%20distinct)%20occurrence.%3C%2FP%3E%3CP%3EIn%20the%20raw%20data%20the%20review%20ID%20is%20ascribed%20to%20a%20unique%20set%20of%20information.%20There%20are%20several%20rows%20with%20the%20same%20review%20ID%20and%20various%20tags%20that%20are%20repeated%20in%20each%20row.%26nbsp%3B%3C%2FP%3E%3CP%3EI%20had%20hopes%20of%20creating%20a%20pivot%20and%20do%20unique%20count%20on%20the%20values%20so%20I%20could%20arrive%20at%20a%20view%20of%20review%20ID%2C%20list%20of%20tags%20per%20review%20ID%20and%20if%20there%20was%20one%20occurrence.%3C%2FP%3E%3CP%3ESince%20Mac%20does%20not%20have%20this%20feature%20I%20was%20also%20considering%20building%20a%20master%20data%20table%20off%20of%20the%20raw%20data%20with%20a%20series%20of%20lookups.%20But%20I'd%20have%20to%20lookup%20along%20columns%20and%20rows.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eany%20thoughts%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F403176%22%20target%3D%22_blank%22%3E%40Riny_van_Eekelen%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2004649%22%20slang%3D%22en-US%22%3ERe%3A%20add%20data%20to%20model%20option%20for%20building%20unique%20count%20pivots%20...%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2004649%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F907318%22%20target%3D%22_blank%22%3E%40cujstoner%3C%2FA%3E%26nbsp%3BI'm%20sure%20you%20have%20a%20clear%20picture%20in%20your%20head%20with%20regard%20to%20the%20end%20result.%20Though%2C%20I'm%20not%20seeing%20it%20(yet).%20Perhaps%20you%20can%20describe%20the%20logic%20you%20wish%20to%20apply.%20For%20instance%2C%20the%20first%206%20items%20in%20the%20raw%20data%20(rows%202%3A7)%20share%20the%20same%20Review%20ID.%20Five%20possible%20reviewers%2C%20one%20Sentiment%20per%20item%20and%20five%20possible%20tags.%20What%20would%20you%20want%20to%20count%20for%20this%20one%20Review%20ID%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi

hi! 

 I am using excel version 16.44 on a MAC. 

I am trying to build a pivot table that will return unique counts. The add to data model option is not available in my version. 

I am dealing with a large amount of data that has duplicates and I want to pivot and sum the unique count of values.  

Any thoughts on why from the group? 

Thank you!

Courtney 

7 Replies

@cujstoner Not sure what you want to count. Currently your pivot table counts "Tag 1", not "Review ID" which is in column A.

 

With regard to Data Model, that's NOT supported by any Excel version for the Mac, unfortunately. Windows only!

Yes. At the review ID level, display in a row the list of tags and then count 1 (unique or distinct) occurrence.

In the raw data the review ID is ascribed to a unique set of information. There are several rows with the same review ID and various tags that are repeated in each row. 

I had hopes of creating a pivot and do unique count on the values so I could arrive at a view of review ID, list of tags per review ID and if there was one occurrence.

Since Mac does not have this feature I was also considering building a master data table off of the raw data with a series of lookups. But I'd have to lookup along columns and rows.

 

any thoughts?

 @Riny_van_Eekelen 

@cujstoner I'm sure you have a clear picture in your head with regard to the end result. Though, I'm not seeing it (yet). Perhaps you can describe the logic you wish to apply. For instance, the first 6 items in the raw data (rows 2:7) share the same Review ID. Five possible reviewers, one Sentiment per item and five possible tags. What would you want to count for this one Review ID?

@Riny_van_Eekelen 

 

I find an illustration is often helpful when explaining these scenarios.  I re-uploaded my file with an illustration on sheet 1.

 

What I want: 

1) I'd like to take the data in row 8 to row 11 that I have highlighted in gray and extract key information and summarize it in one row.

2) I'd like to remove duplicate information which may exist in the same column or different columns to create a summary of unique info in 1 row. 

3) I want to do this for the entire file.  Pivots do not seem to work. Any thoughts?

 

Thank you,

 @cujstoner

 

@cujstoner Try with "Get&Transform Data" (a.k.a. Power Query). The attached file contains an additional sheet called "NewTable". I believe it answers to your needs.

 

Edit: Oops forgot you're on a Mac. Then Power Query is out of the question, although you can extend the data and refresh the new table as the query connects to a local table. Let me see I can replicate the steps without PQ.

@cujstoner I'm not particularly proud if it, but have a look at the attached (updated) file. In quite an ugly manner I joined unique tags per Review ID (for the first four in your list), though its presentation depends on the number of rows that exist within each group of Review ID's. And the end results doesn't look like your example either, but at least it gives you all the comments made in the Tag columns, without repeating them, for each Review ID.

 

Perhaps acceptable. If not, seriously consider investing I acquiring Excel for Windows. Either, on a stand-alone PC or on a virtual machine on your Mac. The latter is what I have been using the past year.

@Riny_van_Eekelen 

thank you. I did not realize the limitation re the Mac. Your response helped greatly. thanks so much!