+ Reply to Thread
Results 1 to 5 of 5

Count unique text, excluding space, based on one condition

  1. #1
    Registered User
    Join Date
    10-15-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    5

    Count unique text, excluding space, based on one condition

    Hello. I'm trying to count only the unique cars driven by Jack. I have a large data set that has some blank cells and i don't want those to be included in the results. The result in the yellow cell should be 2.

    thank you in advance for your help.

    Count unique cars.PNG
    Attached Files Attached Files
    Last edited by asfa; 10-30-2013 at 11:35 AM.

  2. #2
    Forum Guru benishiryo's Avatar
    Join Date
    03-25-2011
    Location
    Singapore
    MS-Off Ver
    Excel 2013
    Posts
    5,147

    Re: Count unique text, excluding space, based on one condition

    welcome to the forum, asfa. would be good if you can upload an excel sample file instead next time. try this array formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    ...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. Press F2 on that cell and try again.

    Thanks, if you have clicked on the * and added our rep.

    If you're satisfied with the answer, click Thread Tools above your first post, select "Mark your thread as Solved".

    "Contentment is not the fulfillment of what you want, but the realization of what you already have."


    Tips & Tutorials I Compiled | How to Get Quick & Good Answers

  3. #3
    Registered User
    Join Date
    10-15-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Count unique text, excluding space, based on one condition

    Benishiryo thank you so much for responding. But i tried this formula and it reture a 0. I have attached the actual xlxs file. is there something else i can try?

  4. #4
    Registered User
    Join Date
    10-15-2013
    Location
    New York
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Count unique text, excluding space, based on one condition

    Benishiryo thanks it's worked.

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Count unique text, excluding space, based on one condition

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ 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 based on condition
    By pradeev in forum Excel General
    Replies: 4
    Last Post: 06-12-2012, 10:43 AM
  2. Count excluding duplicates with an extra condition
    By konradk in forum Excel General
    Replies: 2
    Last Post: 09-20-2011, 10:39 AM
  3. Excluding certain values & prefixes from unique count
    By Bob McCusker in forum Excel General
    Replies: 2
    Last Post: 09-24-2010, 05:31 AM
  4. Replies: 3
    Last Post: 03-08-2005, 03:06 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