+ Reply to Thread
Results 1 to 6 of 6

Sum Count unique ID if meet the criteria

  1. #1
    Registered User
    Join Date
    10-10-2016
    Location
    Singapore
    MS-Off Ver
    MS2010
    Posts
    10

    Sum Count unique ID if meet the criteria

    I have 5 PC which will be used by a user. So i would like to count the usage in hourly range and avoid count duplicate ID/name in that hour. Attached the sample. Thanks.
    Attached Files Attached Files

  2. #2
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,937

    Re: Sum Count unique ID if meet the criteria

    Can you put some expected result and what is the thought behind the expected result?
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

  3. #3
    Registered User
    Join Date
    10-10-2016
    Location
    Singapore
    MS-Off Ver
    MS2010
    Posts
    10
    Quote Originally Posted by shukla.ankur281190 View Post
    Can you put some expected result and what is the thought behind the expected result?
    Hi shukla,
    Attached was the latest sample and expected result.
    Attached Files Attached Files

  4. #4
    Forum Expert
    Join Date
    12-09-2014
    Location
    Trakai, Lithuania
    MS-Off Ver
    2016
    Posts
    1,293

    Re: Sum Count unique ID if meet the criteria

    Can apply this formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Attached Files Attached Files

  5. #5
    Forum Guru samba_ravi's Avatar
    Join Date
    07-26-2011
    Location
    Hyderabad, India
    MS-Off Ver
    Excel 2021
    Posts
    8,914

    Re: Sum Count unique ID if meet the criteria

    or try below array formula and copy towards right
    F13=SUM((FREQUENCY(IF(F$2:F$11=1,MATCH($C$2:$C$11,$C$2:$C$11,0)),ROW($C$1:$C$11))>0)+0)


    ...confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER. You will know the array is active when you see curly braces { } appear around your formula. If you do not CTRL+SHIFT+ENTER you will get an error or a clearly incorrect answer.
    Samba

    Say thanks to those who have helped you by clicking Add Reputation star.

  6. #6
    Registered User
    Join Date
    10-10-2016
    Location
    Singapore
    MS-Off Ver
    MS2010
    Posts
    10
    Quote Originally Posted by Czeslaw View Post
    Can apply this formula.
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    Hi Czeslaw
    It works. Thanks a lot.

+ 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. Count Unique Values that Meet a Criteria
    By DD1 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-09-2016, 11:23 PM
  2. [SOLVED] Unique dates that meet a criteria
    By weresmytriple in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 02-16-2016, 03:52 PM
  3. Replies: 7
    Last Post: 11-08-2014, 04:05 PM
  4. [SOLVED] Count Unique Values in Column A that meet criteria in Column B
    By ashakespeare in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-04-2012, 07:33 PM
  5. Replies: 25
    Last Post: 05-31-2012, 08:03 PM
  6. Replies: 5
    Last Post: 03-13-2012, 06:05 AM
  7. How to count unique entries that meet two criteria
    By Gooford in forum Excel General
    Replies: 2
    Last Post: 11-23-2010, 12:13 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