+ Reply to Thread
Results 1 to 4 of 4

Counting mixed orders with different products

  1. #1
    Registered User
    Join Date
    01-05-2015
    Location
    Vienna
    MS-Off Ver
    2010
    Posts
    3

    Wink Counting mixed orders with different products

    Hi community,

    I am a new member with probably not a new problem. :D

    I'd like to count customer orders and distinguish them between mixed and single orders. For example, I created this table below where I have 4 different orders (total amount of orders). These orders can be distinguished between mixed and single orders. In this case I have 2 single (i.e. order no. 2222 and 3333) and 2 mixed orders (i.e. 1111 and 4444). How can I let excel calculate these?

    order product mixed single
    1111 A
    1111 B
    2222 A
    3333 A
    4444 A
    4444 B
    4444 C
    4444 D


    Thanks in advance.

    best regards,

    Markus

  2. #2
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Counting mixed orders with different products

    You can summarize there, but I usually would copy the Orders to another location, and go to Data->Remove Duplicates to create a unique list.

    =if(COUNTIF(allorders,order)>1,"MIXED","SINGLE")
    Make Mom proud: Add to my reputation if I helped out!

    Make the Moderators happy: Mark the Thread as Solved if your question was answered!

  3. #3
    Registered User
    Join Date
    01-05-2015
    Location
    Vienna
    MS-Off Ver
    2010
    Posts
    3

    Re: Counting mixed orders with different products

    Hi,

    appreciate your fast reply. for this task, i can't remove duplicates since there are none.
    E.g. Order 1111 contains product A and product B, i.e. it is a mixed order. Now I want to tell excel that this is a mixed one and in the second step that product A is from department 1 and product B from the other department.

    thx.

    Markus

  4. #4
    Forum Expert daffodil11's Avatar
    Join Date
    07-11-2013
    Location
    Phoenixville, PA
    MS-Off Ver
    MS Office 2016
    Posts
    4,465

    Re: Counting mixed orders with different products

    so...

    B2:
    =IF(SUMPRODUCT(--($A$2:$A$9=$A2))>1,"X","")

    C2:
    =IF(SUMPRODUCT(--($A$2:$A$9=$A2))=1,"X","")

    and copy both down?
    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. counting Orders placed on different days
    By g4tso in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 11-06-2014, 01:20 PM
  2. [SOLVED] define exact number of products sale from multiple sale and returned sale orders
    By maabadi in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 11-05-2012, 06:14 AM
  3. Counting Orders
    By mjrichards in forum Excel General
    Replies: 5
    Last Post: 11-26-2009, 02:51 PM
  4. Counting Orders/Rep/Month
    By ems.payroll in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 10-31-2008, 09:10 AM
  5. Counting number of orders
    By sjm in forum Excel General
    Replies: 6
    Last Post: 07-26-2007, 11:18 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