+ Reply to Thread
Results 1 to 8 of 8

Identifying New Clients

  1. #1
    Registered User
    Join Date
    02-18-2014
    Location
    California, USA
    MS-Off Ver
    Excel 2011
    Posts
    2

    Identifying New Clients

    Hello Forum,

    I am trying to create a function (vlookup?) that identifies which clients are new in the current month by comparing the client list from the previous month.

    I attached the file. you'll see the main table for January right at the top. Its a lot of information, but all I need is to identify new clients using a function.

    Can you help out? Thank you for reading

    -UncleFoster
    Attached Files Attached Files

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,926

    Re: Identifying New Clients

    This isn't difficult to do for the specific case of January. You can see that "Dec 2013" is hard-coded into the formula, so you would have to update that if you copy this to a new month. If you want a more general solution that you can copy to a new sheet without updating, then you are going to need a macro solution.

    Use this formula in Q4 then copy down:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    You could also do it with VLOOKUP as you mentioned; I just decided to use MATCH instead.
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

  3. #3
    Registered User
    Join Date
    02-18-2014
    Location
    California, USA
    MS-Off Ver
    Excel 2011
    Posts
    2

    Re: Identifying New Clients

    Thank you! I will try to get this to work for the rest of the months as well.

  4. #4
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,833

    Re: Identifying New Clients

    try this

    in Q1 make sure you have this on each sheet
    = TEXT(DATE(YEAR(DATEVALUE(MID((RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename")))),1,3)&" "&MID((RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename")))),5,4))),MONTH(DATEVALUE(MID((RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename")))),1,3)&" "&MID((RIGHT(CELL("filename"),LEN(CELL("filename"))-FIND("]",CELL("filename")))),5,4)))-1,DAY(1)),"mmm yyyy")

    assuming always formatted as MMM YYYY
    I have taken the sheet name
    converted that to a DATE format
    taken 1 month away
    and turned back to a TEXT

    so on each sheet in Q1 you should now have in text the previous month - which is the name of the previous months sheet
    so on

    sheet named Jan 2014 you get Dec 2013 in cell Q1 - which we can now use to lookup that sheet
    sheet named Feb 2014 you get Jan 2014 in cell Q1 - which we can now use to lookup that sheet
    sheet named Aug 2013 you get Jul 2014 in cell Q1 - which we can now use to lookup that sheet


    now we can use an indirect function to bring that sheet name into a vlookup or index/match to find the new clients

    so in Q4
    you put
    =VLOOKUP(P4,INDIRECT("'"&$Q$1&"'!$B:$B"),1,FALSE)
    and copy down

    now that can be part of your template for every sheet you create in future months


    we can also take the formula further

    and use an IF and ISERROR to put if new or existing client as follows
    =IF(ISERROR(VLOOKUP(P4,INDIRECT("'"&$Q$1&"'!$B:$B"),1,FALSE)),"New Client","Existing Client")

    see attached - just modified for JAN
    if you copy the sheet to FEB 2004
    then it should look at JAN 2004
    Attached Files Attached Files
    Last edited by etaf; 02-18-2014 at 04:14 PM.
    Wayne
    if my assistance has helped, and only if you wish to , there is an "* Add Reputation" on the left hand side - you can add to my reputation here

    If you have a solution to your thread - Please mark your thread solved do the following: >
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  5. #5
    Forum Contributor
    Join Date
    07-17-2012
    Location
    bangalore
    MS-Off Ver
    Excel 2007
    Posts
    461

    Re: Identifying New Clients

    Thanks for good forumula

  6. #6
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,833

    Re: Identifying New Clients

    your welcome , if you plan to use - you could also - create the list of clients automatically - or have the test on the same row as the client already listed

    if my assistance has helped, and only if you wish to , there is a reputation icon * on the left hand side - you can add to my reputation here

  7. #7
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS 365 Family 64-bit 2404
    Posts
    24,926

    Re: Identifying New Clients

    etaf's solution is very clever and can provide a copy-able version without having to use macros. I do have a suggestion for how to make that formula in Q1 simpler. It depends on the fact that the dates listed starting in A2 will always be in the current month.

    Formula: copy to clipboard
    Please Login or Register  to view this content.

  8. #8
    Forum Expert etaf's Avatar
    Join Date
    10-22-2004
    Location
    Wittering, West Sussex, UK
    MS-Off Ver
    365 (Mac OSX) (16.85 (24051214))
    Posts
    8,833

    Re: Identifying New Clients

    Wow - 6StringJazzer so much simplier - i got so caught into the sheet names and changing those - missed the obvious
    thanks , will keep an eye on that in the future

+ 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] Looking up clients
    By Murphy15 in forum Excel General
    Replies: 20
    Last Post: 01-03-2014, 10:57 PM
  2. [SOLVED] Excel 2010 Identifying data changed in cells and Identifying the changed rows
    By SandyLake in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 08-13-2013, 01:12 AM
  3. [SOLVED] Speadsheet help - identifying returning clients within a time frame
    By vin1602 in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-09-2013, 09:47 AM
  4. Analyze Clients
    By jpnyc in forum Excel General
    Replies: 3
    Last Post: 04-29-2010, 09:06 PM
  5. Match a name to all clients?
    By Dixie in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-29-2005, 11:06 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