+ Reply to Thread
Results 1 to 4 of 4

How do I show only applicable items with no data on Excel?

  1. #1
    Registered User
    Join Date
    03-12-2024
    Location
    England
    MS-Off Ver
    Microsoft 365
    Posts
    1

    Question How do I show only applicable items with no data on Excel?

    Hi,

    I'm creating a pivot table, and I'd like it's structure to remain static, where only applicable items with no data are shown. Please see below and attached for an explanation of what I'm looking for.

    I have 2 fields that I'm placing in the 'rows' area of the pivot table, Type (Column A) is 'Fruit' or 'Vegetable'. Name (Column B) is the Fruit or Vegetable name.

    I have 2 customers, Customer 1 is buying all of the items under the Type 'Fruit' and 'Vegetable' (there are 3 items in each category), and Customer 2 is buying only 2 items in each category.

    I would like to set up my pivot table to be set up in a way where all 3 items under Fruit and Vegetable are visible whether I filter on Customer 1 or 2. The only way I can think of doing this is by editing the field settings of the 'Name' field to show items with no data. But when I do this, it shows even the items categorised against 'Vegetable' in the fruits section and vice versa, like the attached image. The view I would like to achieve is essentially only items applicable to the fruit category appearing under fruit and only items applicable to vegetables appearing under the vegetable category, and that view remaining static. Does anyone know how I can achieve this? I've attached the file to this thread.

    Capture.PNG
    Attached Files Attached Files

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,852

    Re: How do I show only applicable items with no data on Excel?

    Welcome to the forum.

    I think this could be done with 365 functions (rather than a PT). Can you please MANUALLY mock up in the workbook what you want the table to look like?
    Last edited by AliGW; 03-12-2024 at 07:57 AM. Reason: Typo fixed.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,852

    Re: How do I show only applicable items with no data on Excel?

    Try this:

    =LET(u,UNIQUE(SORTBY(A2:B11,A2:A11,1,B2:B11,1)),HSTACK(u,SUMIFS(F2:F11,D2:D11,I1,B2:B11,INDEX(u,,2))))
    Attached Files Attached Files

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: How do I show only applicable items with no data on Excel?

    You could put the pivot table on a separate sheet, then use GETPIVOTDATA formulas to return the specific values you want. Example attached.
    Attached Files Attached Files
    Rory

+ 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. Formula to only show applicable values in the IF statement
    By Earl38 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 01-17-2022, 12:15 AM
  2. [SOLVED] Excel Charts to not show items without data
    By milo1984 in forum Excel General
    Replies: 7
    Last Post: 06-25-2020, 09:06 AM
  3. [SOLVED] Master tab serial number list parsed out to applicable cells in applicable worksheets
    By kiwimtnbkr in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-27-2017, 10:57 AM
  4. PowerPivot 2010 > show all items with no data
    By stevemkiidub in forum Excel General
    Replies: 0
    Last Post: 01-14-2016, 04:29 PM
  5. Show items with no data on rows and columns
    By sqledge in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-22-2010, 01:05 PM
  6. autocopy applicable data from one sheet to another in excel
    By Onesie in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 02-12-2009, 05:24 PM
  7. [SOLVED] Pivot Table - show items with no data
    By HJM in forum Excel General
    Replies: 3
    Last Post: 06-22-2005, 08:05 AM

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