+ Reply to Thread
Results 1 to 11 of 11

display unique customer formula

  1. #1
    Forum Contributor
    Join Date
    02-05-2014
    Location
    Bay Area
    MS-Off Ver
    Excel 2010
    Posts
    124

    display unique customer formula

    Hello -

    I attached a simple spreadsheet with sample data to highlight my struggle.

    I have many records for each customer, each record having a string of text (folder/file name) to identify documents related to that customer. I'm trying to simply identify each unique customer by showing the primary folder/file name for that customer (not the related folders/files). For example, I may have 100 records for Jane Doe, but I simply want to show the first folder/file name for "Jane Doe." Based on my data, I think I can do this by searching for folder/file names that end with "loan file/" and identify that record as a unique customer. My customer list is constantly changing, so I can't have a reference to "Jane Doe" in my formula. I just want to see one cell that I can identify Jane Doe as a unique customer.

    Thanks so much for any help!

    Jeff
    Attached Files Attached Files

  2. #2
    Valued Forum Contributor
    Join Date
    04-01-2015
    Location
    The Netherlands
    MS-Off Ver
    2003/2007/2010/2016/office 365
    Posts
    508

    Re: display unique customer formula

    It is not entirely clear to me what you mean. Maybe something like this. Otherwise, indicate the desired result in the file.
    Attached Files Attached Files

  3. #3
    Valued Forum Contributor
    Join Date
    09-07-2014
    Location
    Israel
    MS-Off Ver
    Office2010
    Posts
    603

    Re: display unique customer formula

    Maybe something like that:

    B5 = MID(C5,(SEARCH("Approved Loans",C5)+15),(SEARCH("loan file",C5))-(SEARCH("Approved Loans",C5)+15))
    Attached Files Attached Files

  4. #4
    Forum Contributor
    Join Date
    02-05-2014
    Location
    Bay Area
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: display unique customer formula

    Those are both excellent solutions. In fact, they're more than I was hoping for. Thank you very much!!

  5. #5
    Forum Contributor
    Join Date
    02-05-2014
    Location
    Bay Area
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: display unique customer formula

    Thank you, Vraag en antwoord! That is a great solution.

  6. #6
    Forum Contributor
    Join Date
    02-05-2014
    Location
    Bay Area
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: display unique customer formula

    It appears I spoke too soon about the two great solutions I received. Those didn't work for other pieces of data.
    In the new attached sample spreadsheet I showed my desire result, manually.
    Thanks again for any help.
    Attached Files Attached Files

  7. #7
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    39,499

    Re: display unique customer formula

    Are you still using Excel 2010?
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!

    Forum Rules (updated September 2018): please read them here.
    How to use the Power Query code you've been given: help here. More about the Power suite here.
    Don't forget to say "thank you" to those who have helped you in your thread. If you wish, you can also reward them by clicking on their reputation star bottom left.

  8. #8
    Forum Contributor
    Join Date
    02-05-2014
    Location
    Bay Area
    MS-Off Ver
    Excel 2010
    Posts
    124

    Re: display unique customer formula

    Actually, I'm using Excel 2016.

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    39,499

    Re: display unique customer formula

    Then please update your forum profile to Excel 2016. Thanks.

  10. #10
    Forum Expert Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    3,631

    Re: display unique customer formula

    Please try at B5

    =IF(RIGHT(C5,10)="loan file/",TRIM(SUBSTITUTE(LEFT(RIGHT(SUBSTITUTE(C5,"/",REPT(" ",50)),100),50),"loan file",)),"")
    Attached Files Attached Files

  11. #11
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Ipswich, England
    MS-Off Ver
    Office 365 (Win 10 - Work) & Office 365 Subscription Insider (Win 10 - Home)
    Posts
    39,499

    Re: display unique customer formula

    You could us PowerQuery. Here's the M Code:

    Please Login or Register  to view this content.
    Excel 2016 (Windows) 32 bit
    C
    26
    Sample Data Set
    27
    All Files/1. David's loans with John/5. Approved Loans/Todd & Tina Smith loan file/
    28
    All Files/1. Joe's loans with MyHang/2. In Process Loans/Robert & Mary Levander loan file/
    29
    All Files/1. David's loans with John/5. Approved Loans/Alice & Frank Jones loan file/
    Sheet: Sample data set
    Attached Files Attached Files

+ 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] Unique ID For Customer Table
    By bj90 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 07-20-2019, 08:18 PM
  2. [SOLVED] Formula that can check for two criteria per customer when multiple customer lines exist
    By Macey351 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 10-05-2016, 10:11 AM
  3. unique customer
    By stephme55 in forum Excel General
    Replies: 2
    Last Post: 05-18-2016, 01:18 PM
  4. Replies: 4
    Last Post: 11-28-2014, 07:53 AM
  5. [SOLVED] Formula to Count Unique Customer by Month
    By byankton in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-19-2013, 12:39 AM
  6. Find unique customer ID
    By amartino44 in forum Excel General
    Replies: 1
    Last Post: 10-11-2013, 08:07 PM
  7. Breaking down Unique customer code.
    By Clash in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 10-07-2007, 10:17 AM

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