+ Reply to Thread
Results 1 to 3 of 3

Counting Customers with similar names

  1. #1
    Registered User
    Join Date
    11-11-2015
    Location
    USA
    MS-Off Ver
    Office Plus 2013
    Posts
    4

    Counting Customers with similar names

    Hi All,

    I have a spreadsheet that I update monthly and want to be able to count the number of customers in a given month. The only hiccup with the spreadsheet that doesn't allow me to do a simple =counta function, is that the customer name is followed by a department or product (i.e. "Costco - Food" and "Costco - Drinks").

    What I've been doing as attached, is delimiting the file based on "-" and separating just the customer name. I then use the remove duplicates feature and follow up with a =counta function.

    I was wondering if there's a better way to do this in a more automated manner either through formulas/workpaper setup (we need to have the customer and product in the same cell) or through macros.

    I have an example attached.

    Thanks!
    Attached Files Attached Files

  2. #2
    Forum Guru AlKey's Avatar
    Join Date
    07-20-2009
    Location
    Lakeland, FL USA
    MS-Off Ver
    Microsoft Office 2010/ Office 365
    Posts
    8,903

    Re: Counting Customers with similar names

    Enter formula in H2 and copy down

    Formula: copy to clipboard
    Please Login or Register  to view this content.
    If you like my answer please click on * Add Reputation
    Don't forget to mark threads as "Solved" if your problem has been resolved

    "Nothing is so firmly believed as what we least know."
    --Michel de Montaigne

  3. #3
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2405 (Windows 11 23H2 64-bit)
    Posts
    81,444

    Re: Counting Customers with similar names

    =left(a2,find("-",a2)-2)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

+ 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] Counting number of customers per part
    By benoj2005 in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 05-08-2014, 07:21 AM
  2. Counting NEW CUSTOMERS Q2 Q3 Q4
    By makinmomb in forum Excel Formulas & Functions
    Replies: 11
    Last Post: 01-04-2014, 02:36 PM
  3. Counting unique customers filtered by date
    By perducci in forum Excel General
    Replies: 2
    Last Post: 03-08-2012, 12:49 PM
  4. Counting First time Customers
    By quickstop in forum Excel General
    Replies: 1
    Last Post: 12-28-2011, 06:49 PM
  5. VBA to assign a group/household number to similar invoice customers
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-22-2011, 09:35 PM
  6. counting Total £££ for customers that can appear more then once
    By jordan.lawrance in forum Excel General
    Replies: 3
    Last Post: 04-15-2009, 11:06 AM
  7. [SOLVED] Formula for counting customers waiting to be served
    By jimtmcdaniels in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-03-2005, 08:45 PM

Tags for this Thread

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