+ Reply to Thread
Results 1 to 7 of 7

Help - Need to check a workbook for matching multiple values

  1. #1
    Registered User
    Join Date
    09-17-2014
    Location
    Cambridge, England
    MS-Off Ver
    2016
    Posts
    58

    Help - Need to check a workbook for matching multiple values

    Hello - I need assistance as I am having severe brain freeze.

    I have a list of Client reference numbers (Sheet 1 - Client log) that are current clients or past clients we have tried to aquire. I now have a seperate list of client references (Sheet 2 - New Leads) that I need to cross reference against the current list of clients (Sheet 1) to find matching client references. Basically it is a list of clients that we want to call to aquire their business, but obviously need to fish out all of them that we have already previously called or have already aquired - which will show on Sheet 1.

    Hope that makes sense?

    I have attached a workbook containing just the client numbers. I have tried a VLOOKUP but it is clearly not working as it just returns #VALUE - so is no doubt my formula that is wrong.

    Assistance would be most appreciated.

    Regards
    Attached Files Attached Files

  2. #2
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Help - Need to check a workbook for matching multiple values

    Client Log B2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down

    New Client Leads B1:
    Formula: copy to clipboard
    Please Login or Register  to view this content.
    and copy down

    Use Autofilter to highlight either 0 or 1


    Regards, TMS
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  3. #3
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Help - Need to check a workbook for matching multiple values

    In cell B2 on sheet Client Log, enter the following array formula:

    Please Login or Register  to view this content.
    Confirm with CTRL+SHIFT+ENTER.

    Drag down through row 1117. This will return "Call" next to the number that you should call if it does not show up in your "New Client Leads" sheet.

  4. #4
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Help - Need to check a workbook for matching multiple values

    @mcmahobt: Why do you need an Array Formula? COUNTIF does the job.

    Regards, TMS

  5. #5
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Help - Need to check a workbook for matching multiple values

    Thanks for the rep




    If you are satisfied with the solution(s) provided, please mark your thread as Solved.


    New quick method:
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

    Or you can use this way:

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save


    You may also want to consider thanking those people who helped you by clicking on the little star at the bottom left of their reply to your question.

  6. #6
    Forum Expert
    Join Date
    09-11-2014
    Location
    Washington, DC
    MS-Off Ver
    2016
    Posts
    1,907

    Re: Help - Need to check a workbook for matching multiple values

    Quote Originally Posted by TMS View Post
    @mcmahobt: Why do you need an Array Formula? COUNTIF does the job.

    Regards, TMS
    My apologies, not array, but works as well. I hadn't refreshed the page before you had posted, so I was unaware you had responded.

  7. #7
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    44,464

    Re: Help - Need to check a workbook for matching multiple values

    @mcmahobt: No worries; just wondered what you had in mind. Good to have alternative approaches, though, in this case, I think I'd stick with COUNTIF.

    Regards, TMS

+ 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. possible to check for file in multiple folders, then check for values in specific cells?
    By mattheritage in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-04-2014, 08:33 AM
  2. Replies: 5
    Last Post: 08-04-2013, 09:49 AM
  3. Replies: 8
    Last Post: 07-28-2012, 03:22 PM
  4. check cell values from other workbook
    By darkbraids in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-20-2012, 10:25 AM
  5. [SOLVED] Check for matching values and list the lapsed rows under the appropriate heading
    By sans in forum Excel Programming / VBA / Macros
    Replies: 35
    Last Post: 05-07-2012, 02:31 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