+ Reply to Thread
Results 1 to 7 of 7

Count uniq orders

  1. #1
    Forum Contributor alexxl's Avatar
    Join Date
    04-21-2015
    Location
    Romania
    MS-Off Ver
    Micrososft Office Professional Plus 2019
    Posts
    316

    Count uniq orders

    Hello i made an atach of 2 shets.

    In the first sheet i would like to bring in column b the unique orders by id date and agent. i want the infos from sheet 2 column a, b, c)


    Can you help me please?
    Can you explain it? not necesearly.

    Thank you very much!
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Count uniq orders

    Hi,
    Can you please fill in manually the answers you expect to see in sheet1?

    This will be easier in order to understand what you are looking for.
    Thanks.

  3. #3
    Forum Contributor alexxl's Avatar
    Join Date
    04-21-2015
    Location
    Romania
    MS-Off Ver
    Micrososft Office Professional Plus 2019
    Posts
    316

    Re: Count uniq orders

    Normaly i do it by removing duplicates from column a (id),
    after this i use pivot on the name of the seller and i obtain their uniq number of orders.
    My problem is that
    in the main report that i use to do this, i have duplicates by id,
    because the report is intentionaly showing me also the number of products,

    For my agent performances I only want to see the unic number of orders.

    I can simply do it by pivoting But when it s about days and quantitys i want to escape this pivot thing

    I saw some 1/countif formulas but i don`t manage to make it work.

    Got me now?
    Last edited by alexxl; 05-05-2020 at 12:14 PM.

  4. #4
    Forum Expert
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    office 365
    Posts
    3,187

    Re: Count uniq orders

    So if we take Alex, for example, you want to count the number of times his name appears on a certain date with unique ID#? (3 times on 03-05-20 and 2 times on 03-05-2020)?

    It would easier to understand if you upload your file with the results manually typed in sheet "1".

    Thanks.

  5. #5
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Count uniq orders

    Please try at
    B2
    =COUNT(1/FREQUENCY(IF('2'!$C$2:$C$44=A2,'2'!$A$2:$A$44),'2'!$A$2:$A$44))

    C2
    =COUNT(1/FREQUENCY(IF('2'!$C$2:$C$44=A2,IF('2'!$B$2:$B$44=C$1,'2'!$A$2:$A$44)),'2'!$A$2:$A$44))

    **Array formulas are not entered in the same way as 'standard' formulas. Instead of pressing just ENTER, you first hold down CTRL and SHIFT, and only then press ENTER. If you've done it correctly, you'll notice Excel puts curly brackets {} around the formula (though do not attempt to manually insert these yourself).
    Attached Files Attached Files

  6. #6
    Forum Contributor alexxl's Avatar
    Join Date
    04-21-2015
    Location
    Romania
    MS-Off Ver
    Micrososft Office Professional Plus 2019
    Posts
    316

    Re: Count uniq orders

    Than you very much. First i Tryed with something like =SUM(IF(A2='2'!C:C,1/(COUNTIFS('2'!C:C,'1'!A2,'2'!A:A,'2'!A:A)),0)) than i catched my ears with something even harder

    =SUM(IF(("Tom"=$C$2:$C$20)*($D$2:$D$20<=DATE(2016, 9, 30)*($D$2:$D$20>=DATE(2016, 9, 1))), 1/COUNTIFS($C$2:$C$20, "Tom", $A$2:$A$20, $A$2:$A$20, $D$2:$D$20, "<="&DATE(2016, 9, 30),$D$2:$D$20, ">="&DATE(2016, 9, 1))), 0)

    But i don`t want to search beneth those dates.
    I like to use my formulas templates with refferences to cells i think is much easier.
    Thank you very much for your solution.
    Appreciate it.

  7. #7
    Forum Contributor alexxl's Avatar
    Join Date
    04-21-2015
    Location
    Romania
    MS-Off Ver
    Micrososft Office Professional Plus 2019
    Posts
    316

    Re: Count uniq orders

    Thank you very much for your answer also.

+ 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] why uniq list is not uniq list
    By vasc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 06-05-2019, 01:53 PM
  2. Find Each Days Orders by Associate ID, input into Master Orders COmpleteWorksheet
    By bbell2219 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-09-2016, 02:14 AM
  3. Formula: Count number of orders by month
    By concepo in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-15-2016, 05:28 AM
  4. Help calculating monthly orders depending on cumulative orders to date
    By nats2412 in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 02-03-2015, 03:18 AM
  5. [SOLVED] Count the orders
    By richgoof in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-02-2012, 11:32 AM
  6. Count closed work orders
    By mikesjd110 in forum Excel General
    Replies: 2
    Last Post: 09-11-2009, 12:24 PM
  7. [SOLVED] 2 categories-count the amount of orders per state
    By Joe Resler in forum Excel General
    Replies: 0
    Last Post: 11-02-2005, 06:17 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