+ Reply to Thread
Results 1 to 5 of 5

count based on range and unique value

  1. #1
    Registered User
    Join Date
    06-24-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    38

    count based on range and unique value

    Tried to attach example...wouldn't let me

    Trying to figure out how many times an employee, (i.e. Eric or Dave) falls between the parameters 0-5 and greater than 5.

    thanks for your help!

    A B
    Eric 1
    Eric 5
    Eric 3
    Eric 6
    Dave 4
    Dave 7
    Dave 8
    Dave 1

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: count based on range and unique value

    Take a look at using the countifS() function for this

    Quote Originally Posted by boltsg4 View Post
    Tried to attach example...wouldn't let me
    To attach a file to your post,
    click advanced (next to quick post),
    scroll down until you see "manage file",
    click that and select "add files" (top right corner).
    click "select files" find your file, click "open" click "upload" click 'done" bottom right. click "submit reply"

    Once the upload is completed the file name will appear below the input boxes in this window.
    You can then close the window to return to the new post screen.
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: count based on range and unique value

    Something like this...

    Assuming no negative numbers.

    =COUNTIFS(A2:A10,"Eric",B2:B10,"<=5")

    =COUNTIFS(A2:A10,"Eric",B2:B10,">5")
    Biff
    Microsoft MVP Excel
    Keep It Simple Stupid

    Let's Go Pens. We Want The Cup.

  4. #4
    Registered User
    Join Date
    06-24-2014
    Location
    United States
    MS-Off Ver
    2010
    Posts
    38

    Re: count based on range and unique value

    perfect...thanks!

  5. #5
    Forum Expert Tony Valko's Avatar
    Join Date
    12-31-2011
    Location
    Pittsburgh
    MS-Off Ver
    2002, 2007:2013
    Posts
    18,890

    Re: count based on range and unique value

    You're welcome. Thanks for the feedback!

+ 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 unique text values within a range based on another column
    By Sebastes in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 10-14-2014, 01:38 PM
  2. [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
  3. [SOLVED] COUNT unique reference numbers based dates in a specified date range
    By 3PDM in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-14-2012, 08:50 AM
  4. Replies: 6
    Last Post: 03-31-2009, 11:17 AM
  5. count unique cells in range based on date
    By leedsd75 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-09-2007, 02:04 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