+ Reply to Thread
Results 1 to 4 of 4

Formula to List of Product Groups That Have The Most Products With Zero Sales

  1. #1
    Forum Contributor
    Join Date
    08-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    119

    Formula to List of Product Groups That Have The Most Products With Zero Sales

    I need a formula that will look at a query and tell me which product groups have the most products with zero sales (Top 5).

    As a very simple example, if Product Group1 has 10 products, 3 of which have zero sales, Product Group2 has 15 products and 5 of them have zero sales, the formula would return:
    1) Product Group2
    2) Product Group1.

    If that doesn't make sense I will attach an example workbook with what I want. I imagine this will have to be an array formula, but unfortunately I really don't understand how those work. If possible I would like to not use a countif or countifs because they slow down the workbook so much, but if they need to be used, that is fine.

    Thanks in advance for any help, and please let me know if you need clarification.

    Example Workbook:
    example book.xlsx

  2. #2
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Formula to List of Product Groups That Have The Most Products With Zero Sales

    would a pivot table work for you

    you can sort by count of sales and filter on zero

    then you can just update/refresh the pivot table each time you enter new data

    see attached

    OR

    you could use a formula
    for all the product groups
    =COUNTIFS(I:I,B2,K:K,0)

    and then sort by the count
    Attached Files Attached Files
    Last edited by etaf; 04-17-2015 at 03:39 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Contributor
    Join Date
    08-06-2012
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    119

    Re: Formula to List of Product Groups That Have The Most Products With Zero Sales

    Perfect! I didn't know you could use a Pivot Table that way. Thanks for the help!

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.83 (24031120))
    Posts
    8,737

    Re: Formula to List of Product Groups That Have The Most Products With Zero Sales

    your welcome - thanks for the rep

+ 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. [SOLVED] VBA to to create a list of product variations based on list of parent products
    By irruzzz in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 05-12-2016, 08:27 AM
  2. Find and go to product code in a list of products
    By ALANBERNARD in forum Excel General
    Replies: 5
    Last Post: 06-05-2013, 09:28 AM
  3. [SOLVED] Sales order form from a master product list
    By dawondr in forum Excel General
    Replies: 3
    Last Post: 05-04-2013, 08:42 AM
  4. Formula to calculate multiple values from product sales
    By madscooter in forum Excel General
    Replies: 0
    Last Post: 06-16-2011, 12:53 PM
  5. Replies: 1
    Last Post: 06-16-2008, 05:42 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