+ Reply to Thread
Results 1 to 2 of 2

Double Counting Combined Value Cells

  1. #1
    Registered User
    Join Date
    07-01-2019
    Location
    Virginia
    MS-Off Ver
    Pro Plus 2016
    Posts
    22

    Double Counting Combined Value Cells

    Hi.

    I'm trying to make a pivot table out of data where some entries have a combination of values. For example, let's say my column title is fruit, so most cells are either apples, oranges, or strawberries. Some entries though are labeled as 'apples/oranges' or 'oranges/apples', etc. When I go to make a pivot table, those combined entries with 'apples/oranges' are listed as its own subcategory. However, I just want that cell to be counted in apples once, and then again under oranges. Is this possible to do with pivot tables? And if so, how?
    Thanks!
    Last edited by richx; 08-16-2019 at 01:49 PM.

  2. #2
    Forum Expert CK76's Avatar
    Join Date
    06-16-2015
    Location
    ONT, Canada
    MS-Off Ver
    Office 365 ProPlus
    Posts
    5,883

    Re: Double Counting Combined Value Cells

    Not by standard pivot table. No. And do you really want to double count?

    There are 2 ways to handle this.

    1. Use PowerQuery to transform data then load to data model.
    This is my recommendation. You can use GUI tool in query editor, to split column by delimiter into rows and replicate data for other columns into 2 (or more) rows.
    You can then load it to data model and base pivot table off of it.

    2. Use PowerQuery to load data to model without transformation.
    You will then use DAX measure to construct calculation. However, this can get complex depending on your data structure and use case.

    Either case, if you want further help. I'd recommend uploading sample workbook and manual mockup of your desired result.

    To upload, use "Go Advanced" button, follow "Manage Attachments" hyperlink. It will launch new tab/window for managing uploads.
    ?Progress isn't made by early risers. It's made by lazy men trying to find easier ways to do something.?
    ― Robert A. Heinlein

+ 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. counting double
    By louis128 in forum Excel General
    Replies: 19
    Last Post: 01-02-2019, 07:52 AM
  2. Replies: 4
    Last Post: 07-13-2017, 12:24 AM
  3. [SOLVED] Avoid double counting of same value
    By Karen57 in forum Excel Formulas & Functions
    Replies: 10
    Last Post: 11-02-2015, 09:23 AM
  4. SUMIFS - double counting?
    By Geoff. in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 05-07-2014, 04:10 PM
  5. Combined count and "double if"
    By JonnyH in forum Excel General
    Replies: 6
    Last Post: 09-02-2009, 11:45 AM
  6. Counting by combined start and end time
    By monger in forum Excel General
    Replies: 2
    Last Post: 02-10-2006, 09:23 PM
  7. [SOLVED] Counting based on combined text and date criteria
    By SPUT in forum Tips and Tutorials
    Replies: 8
    Last Post: 10-17-2005, 06:33 PM

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