+ Reply to Thread
Results 1 to 13 of 13

Unique count of retail Jobs

  1. #1
    Registered User
    Join Date
    11-19-2019
    Location
    London, England
    MS-Off Ver
    Home and Business 2013
    Posts
    4

    Unique count of retail Jobs

    Hi Everyone.

    I want to count the number of retail jobs but only count the same Job number once

    I'm sure its really simple but I've been trying for days and cant get it to where i want it.

    Thanks in advance

    Kevin
    Attached Files Attached Files

  2. #2
    Forum Contributor jomaor1's Avatar
    Join Date
    10-08-2018
    Location
    Brasil
    MS-Off Ver
    Excel 2016
    Posts
    177

    Re: Unique count of retail Jobs

    Hi,

    Follow attached, it's an Array Formula

    Cheers!
    Attached Files Attached Files
    John.

    "I excel at jumping to conclusions"

  3. #3
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: Unique count of retail Jobs

    Hi Kevin and welcome to the forum,

    In the newest version of Excel there is a new function called "Unique()" that would give your answer but try the attached to solve it instead. I use a helper column first and then count only the first occurrence.

    Countif different.xlsx
    One test is worth a thousand opinions.
    Click the * Add Reputation below to say thanks.

  4. #4
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.83 for Mac MS 365
    Posts
    8,480

    Re: Unique count of retail Jobs

    not sure what you are looking for as a unique count, but this will return an overall unique count total...
    =SUMPRODUCT(--(FREQUENCY(MATCH($B$2:$B$13,$B$2:$B$13,0),ROW($B$2:$B$13)-ROW(B2)+1)>0))

    EDIT: this would also work... =SUMPRODUCT(1/COUNTIF(B2:B13,B2:B13))
    with the same results.
    Last edited by Sam Capricci; 11-19-2019 at 03:19 PM.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  5. #5
    Registered User
    Join Date
    11-19-2019
    Location
    London, England
    MS-Off Ver
    Home and Business 2013
    Posts
    4

    Re: Unique count of retail Jobs

    Thanks for your efforts guys but perhaps i didn't explain it correctly.

    I need the number of retail job numbers but as you will see some of the retail jobs have the same job number so i only need to count these once.

    Hope that makes it a bit clearer.

    Kind regards

    Kevin

  6. #6
    Forum Guru MarvinP's Avatar
    Join Date
    07-23-2010
    Location
    Woodinville, WA
    MS-Off Ver
    Office 365
    Posts
    16,164

    Re: Unique count of retail Jobs

    Hey Kevin,

    It might help if you gave us the answer to your problem, so we could understand it correctly. See if the attached gets closer to the answer you seek.

    Helper Retail Unique Job Numbers.xlsx

  7. #7
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,396

    Re: Unique count of retail Jobs

    Perhaps this in C2:C13
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Dave

  8. #8
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,396

    Re: Unique count of retail Jobs

    Also very similar to Sam's in post #4 above.

    You may need to array enter this. If you aren’t familiar with array-entered formulas array enter means the formula must be committed from edit mode by simultaneously pressing and holding down Ctrl and Shift while hitting Enter.
    Formula: copy to clipboard
    Please Login or Register  to view this content.

  9. #9
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,776

    Re: Unique count of retail Jobs

    E2=SUM(IF(FREQUENCY(IF(A2:A13<>"",MATCH(A2:A13&B2:B13,A2:A13&B2:B13,0)),ROW(A2:A13)-ROW(A2)+1),1))

    Control+shift+enter

  10. #10
    Registered User
    Join Date
    11-19-2019
    Location
    London, England
    MS-Off Ver
    Home and Business 2013
    Posts
    4

    Re: Unique count of retail Jobs

    Hi Marvin

    Your last attachment has worked! Thanks very much. Is there a way that this can be done without the helper column?

    Kind regards

    Kevin

  11. #11
    Forum Expert
    Join Date
    09-25-2015
    Location
    Milan Italy
    MS-Off Ver
    office 365
    Posts
    1,776

    Re: Unique count of retail Jobs

    Is there a way that this can be done without the helper column?


    E2=SUM(IF(FREQUENCY(IF(RIGHT(A2:A13,6)="Retail",MATCH(A2:A13&B2:B13,A2:A13&B2:B13,0)),ROW(A2:A13)-ROW(A2)+1),1))


    control+shift+enter
    Last edited by CARACALLA; 11-20-2019 at 02:48 PM.

  12. #12
    Registered User
    Join Date
    11-19-2019
    Location
    London, England
    MS-Off Ver
    Home and Business 2013
    Posts
    4

    Re: Unique count of retail Jobs

    Hi Caracalla

    That's work! Thank you so much.

    I am eternally grateful to you all for the help with this.

    Kind regards

    Kevin

  13. #13
    Forum Moderator
    Join Date
    01-21-2014
    Location
    St. Joseph, Illinois U.S.A.
    MS-Off Ver
    Office 365 v 2403
    Posts
    13,396

    Re: Unique count of retail Jobs

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, as a relatively new member of the forum, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of those who helped.

+ 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] Count number of unique values corresponding to unique data in another column
    By STUARTXL in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-26-2019, 12:32 PM
  2. [SOLVED] Count the In Process jobs
    By nagesh.tvsr in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-12-2017, 10:01 AM
  3. 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
  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. Replies: 0
    Last Post: 03-22-2012, 08:44 PM
  6. Replies: 17
    Last Post: 08-24-2009, 08:58 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