+ Reply to Thread
Results 1 to 11 of 11

Count number of text without duplicates and blank

  1. #1
    Registered User
    Join Date
    06-26-2015
    Location
    Đan Mạch
    MS-Off Ver
    2010
    Posts
    21

    Count number of text without duplicates and blank

    Hi guys

    I have a table like that (you can see the picture or the attached file) and I need to know the total number of visitors of restaurant A. I can use filter but this sample is a small part of a big data I am having now and using filter is not convinient so I ask for formulas.

    Thank you

    sample.png
    sample.xlsx

  2. #2
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Count number of text without duplicates and blank

    In F2

    =COUNTIFS($A$2:$A$7,E2,$B$2:$B$7,"<>"&"")

    And Drag Down
    Cheers!
    Deep Dave

  3. #3
    Registered User
    Join Date
    06-26-2015
    Location
    Đan Mạch
    MS-Off Ver
    2010
    Posts
    21

    Re: Count number of text without duplicates and blank

    oh yes

    It's so simple but I cant think like that

    Thank you a lot. YOU SAVE MY DAY )

  4. #4
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Count number of text without duplicates and blank

    Glad I could help..

  5. #5
    Registered User
    Join Date
    06-26-2015
    Location
    Đan Mạch
    MS-Off Ver
    2010
    Posts
    21

    Re: Count number of text without duplicates and blank

    Quote Originally Posted by NeedForExcel View Post
    In F2

    =COUNTIFS($A$2:$A$7,E2,$B$2:$B$7,"<>"&"")

    And Drag Down
    Hi

    I tried your formula but it does not work with all the information. I attached a file for more details. Could you help me?

    Thank you

    sample.xlsx

  6. #6
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Count number of text without duplicates and blank

    The formula is working fine...

    Apply a filter on Column A and Filter out Strandvejen 102a, the answer is 40..

    Same with Sushi-Point, the answer is 6..

    The Formula is working fine..

  7. #7
    Registered User
    Join Date
    06-26-2015
    Location
    Đan Mạch
    MS-Off Ver
    2010
    Posts
    21

    Re: Count number of text without duplicates and blank

    Yes it is right

    But I dont want to count the duplicate names. So all the same name should be count as 1 only, and do not count the blank.

    How can I do that? The previous formula works with some of the information but not all of them

  8. #8
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Count number of text without duplicates and blank

    Hi,

    You never mentioned you do not want duplicate Count..

    See the attached file..
    Attached Files Attached Files

  9. #9
    Registered User
    Join Date
    06-26-2015
    Location
    Đan Mạch
    MS-Off Ver
    2010
    Posts
    21

    Re: Count number of text without duplicates and blank

    Oh

    Maybe we are misunderstood but the formulas works well. Thanks again :D

  10. #10
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Count number of text without duplicates and blank

    No Problem..

    Please mark the thread as solved if you have your answer..
    Last edited by NeedForExcel; 06-26-2015 at 07:50 AM.

  11. #11
    Forum Expert NeedForExcel's Avatar
    Join Date
    03-16-2013
    Location
    Pune, India
    MS-Off Ver
    Excel 2016:2019, MS 365
    Posts
    3,873

    Re: Count number of text without duplicates and blank

    You do not need duplicates, you mentioned that in the header of the post.. I am sorry I missed it..

    Cheers!

+ 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. Replies: 3
    Last Post: 10-23-2014, 04:50 PM
  2. Replies: 2
    Last Post: 11-22-2013, 01:07 PM
  3. [SOLVED] count the number of sequential duplicates
    By SRD75 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-13-2013, 11:35 PM
  4. Count duplicates and put their number in next column
    By wali in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 02-21-2011, 05:59 PM
  5. count the number of duplicates and print the number of occurences
    By ash81sen in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-12-2010, 01:21 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