+ Reply to Thread
Results 1 to 5 of 5

Count of Unique Workorders

  1. #1
    Registered User
    Join Date
    07-09-2014
    Location
    Springfield, missouri
    MS-Off Ver
    2013
    Posts
    25

    Question Count of Unique Workorders

    I cannot figure out how to write a formula that will calculate the number of unique W/O numbers
    that are related to a single part number. Below is a single part number and a list of Work Orders
    that relate to that part. As you can see there are duplicate W/Os in the list. The spreadsheet actually
    has 300+ different part numbers and 80 unique work order numbers. I imagine it will be an array formula
    using countifs and possible frequency, but I do not know how to write the correct formula. In the list below,
    there are 77 unique W/O numbers. I need a formula that will look at part # 8922968 and tell me that
    77 W/Os contain that part #. Can anyone help? Thanks. (I am using Excel 2013)





    Qty Item# W/O
    1 8922968 62594
    1 8922968 62599
    1 8922968 62600
    1 8922968 62601
    -1 8922968 62601
    1 8922968 62602
    1 8922968 62606
    1 8922968 62609
    1 8922968 62611
    1 8922968 62612
    1 8922968 62613
    1 8922968 62614
    1 8922968 62615
    1 8922968 62616
    1 8922968 62617
    1 8922968 62625
    1 8922968 62775
    1 8922968 62802
    1 8922968 62858
    1 8922968 62953
    1 8922968 63004
    1 8922968 63008
    1 8922968 63009
    1 8922968 63012
    1 8922968 63013
    1 8922968 63014
    1 8922968 63015
    1 8922968 63016
    1 8922968 63017
    1 8922968 63018
    1 8922968 63019
    1 8922968 63020
    1 8922968 63021
    1 8922968 63022
    1 8922968 63023
    1 8922968 63024
    1 8922968 63025
    1 8922968 63027
    1 8922968 63028
    1 8922968 63029
    1 8922968 63030
    1 8922968 63031
    1 8922968 63032
    1 8922968 63033
    1 8922968 63034
    1 8922968 63036
    1 8922968 63037
    1 8922968 63071
    1 8922968 63072
    1 8922968 63334
    -1 8922968 63335
    1 8922968 63335
    1 8922968 63335
    -1 8922968 63336
    1 8922968 63336
    1 8922968 63336
    1 8922968 63337
    1 8922968 63338
    1 8922968 63339
    1 8922968 63340
    -1 8922968 63341
    1 8922968 63341
    1 8922968 63341
    1 8922968 63342
    1 8922968 63343
    1 8922968 63344
    1 8922968 63345
    1 8922968 63346
    1 8922968 63347
    1 8922968 63348
    1 8922968 63349
    1 8922968 63352
    1 8922968 63353
    1 8922968 63359
    1 8922968 63360
    1 8922968 63368
    1 8922968 63647
    1 8922968 63648
    1 8922968 63649
    1 8922968 63650
    1 8922968 63651
    1 8922968 63652
    1 8922968 63659
    1 8922968 63718
    1 8922968 63718
    77 (sum) 85 (count)

  2. #2
    Banned User!
    Join Date
    02-05-2015
    Location
    San Escobar
    MS-Off Ver
    any on PC except 365
    Posts
    12,168

    Re: Count of Unique Workorders

    Don't you think the better way is attach excel file with example BEFORE and AFTER?

  3. #3
    Forum Expert tim201110's Avatar
    Join Date
    10-23-2011
    Location
    Russia
    MS-Off Ver
    2016, 2019
    Posts
    2,357

    Re: Count of Unique Workorders

    =sum(--(match(c2:c86,c2:c86,)=row(a1:a85)))

  4. #4
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,223

    Re: Count of Unique Workorders

    Suppose your data in "A" "B" "C" column
    define name manager as "List"
    Firstly go to "formula" tab > click "New" > In name mentioned "List" > In Refers to =Sheet1!$C$2:$C$86
    In "E2" formula
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    copy down till blank
    Arrary formula hence [shift+ctrl+enter]
    Refer attachment.
    Attached Files Attached Files


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  5. #5
    Forum Moderator jeffreybrown's Avatar
    Join Date
    02-19-2009
    Location
    Cibolo, TX
    MS-Off Ver
    Office 365
    Posts
    10,316

    Re: Count of Unique Workorders

    Or if later you want to know what W/O's are duplicated, use in D2 copied down...

    =COUNTIFS($B$2:B2,B2,$C$2:C2,C2)

    Then filter column D by a 1 or use =SUMIF(D2:D86,1) in some cell such as E1
    HTH
    Regards, Jeff

+ 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. Create a unique list with a count against the unique values
    By barber87 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-12-2017, 10:13 AM
  2. Create unique # of worksheets based on list count with unique names
    By Groovicles in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 05-24-2016, 09:51 AM
  3. [SOLVED] Unique Total Value Count per Unique Lookup Values
    By KnightVision in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-02-2014, 05:03 AM
  4. [SOLVED] Count unique entries based off unique criteria in another column
    By hambly in forum Excel Formulas & Functions
    Replies: 15
    Last Post: 06-11-2014, 03:33 PM
  5. [SOLVED] How To Count Unique Values in COL A Subject for each unique value in COL B ??
    By amirtehrani in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 06-06-2012, 03:00 AM
  6. Replies: 0
    Last Post: 03-22-2012, 08:44 PM
  7. Replies: 17
    Last Post: 08-24-2009, 08:58 AM

Tags for this Thread

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