+ Reply to Thread
Results 1 to 5 of 5

Count: number of cell values in each unique column sub_class expressed by column class

  1. #1
    Registered User
    Join Date
    10-07-2015
    Location
    Los Angeles
    MS-Off Ver
    2016
    Posts
    3

    Count: number of cell values in each unique column sub_class expressed by column class

    Hi Excel Forum,

    I need some Excel Pivot Table help, I'm not quite sure how to express this question in technically appropriate excel vernacular so I've created an illustration.

    Considering the attached example, is there an elegant way to use one pivot table to count (not sum) the number of times each seeded food type ('food_seeded') occurs for every "unique food_sub_class" and express the count as an expression of "food_class" by "food seeded"?

    Thank-you!
    Attached Files Attached Files
    Last edited by filtrator; 10-07-2015 at 08:41 PM.

  2. #2
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Count: number of cell values in each unique column sub_class expressed by column class

    Hi,

    Welcome to the forum.

    I have created a Pivot Table in the attached file. See if this is what you are looking for.
    Attached Files Attached Files

  3. #3
    Registered User
    Join Date
    10-07-2015
    Location
    Los Angeles
    MS-Off Ver
    2016
    Posts
    3

    Re: Count: number of cell values in each unique column sub_class expressed by column class

    Thanks Cbatrody -- grateful to be here!

    This works with 25 examples however if I extend the food_class attributes to 5, the food_sub_class attributes to 300 and sustain the number of food_seeded to 3 and the number of permutations to 2000 under each food_class -- is there a way to summarize the pivot elegantly so it counts only the number of food_seeded attributes for each food_sub_class, as expressed by each food_class?

  4. #4
    Registered User
    Join Date
    10-07-2015
    Location
    Los Angeles
    MS-Off Ver
    2016
    Posts
    3

    Re: Count: number of cell values in each unique column sub_class expressed by column class

    Hi Cbatrody,

    What I'm looking to do is summarize more elegantly the top pivot (which I've added to the right of yours) in the attached more elegantly (i.e. without having to create multiple pivots and formulas referencing those pivots) -- if there is a way to do so... ?
    Attached Files Attached Files

  5. #5
    Forum Expert cbatrody's Avatar
    Join Date
    04-15-2014
    Location
    Dubai
    MS-Off Ver
    Microsoft Office 365 ProPlus
    Posts
    2,136

    Re: Count: number of cell values in each unique column sub_class expressed by column class

    Hi,

    See the attached file, I have added a helper column and updated the Pivot Table to reflect the changes. See if this suits your requirement.
    Attached Files Attached Files

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 2
    Last Post: 08-19-2015, 10:22 AM
  2. [SOLVED] Detect unique values in cell and find them in column to count them
    By Ivancitomusic in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-02-2015, 02:37 PM
  3. Count number of all unique values down a column
    By nature718 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-13-2014, 08:47 PM
  4. [SOLVED] count number of values in one column if unique value in another.
    By j.farr3ll in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 08-16-2013, 06:08 AM
  5. Replies: 4
    Last Post: 07-16-2013, 09:45 AM
  6. Replies: 11
    Last Post: 01-18-2013, 04:05 PM
  7. Replies: 12
    Last Post: 07-03-2012, 04:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1