+ Reply to Thread
Results 1 to 8 of 8

Matching Contact Info to Company Info Using ID Number

  1. #1
    Registered User
    Join Date
    03-15-2017
    Location
    Nebraska
    MS-Off Ver
    2010
    Posts
    5

    Matching Contact Info to Company Info Using ID Number

    Hi everyone,
    I'm brand new here, but I've heard good things from co-workers. I am working on cleaning up our database for targeted marketing lists. First, I want to create a master list of everything that we have. The problem is, the companies are listed in one spreadsheet, and the contacts are listed in another. I can match them by company ID (column B). I color coded the lists separately to make them easy to identify. Is there a formula or easier way to take the company name and match it to the contacts name (column C)? I have been doing it manually and then color coding it another color to transfer to another sheet later on.
    Some companies have no contacts, and some have multiple, so it's not a nice every-other pattern either. Anyone have any suggestions? Thanks in advance!
    -B
    Attached Images Attached Images

  2. #2
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Matching Contact Info to Company Info Using ID Number

    Will you please attach a SMALL sample Excel workbook (10-20 rows of data is usually enough)? Please don't attach a picture of one (no-one will want to re-type all your stuff before starting).

    1. Make sure that your sample data are truly REPRESENTATIVE of your real data. The use of unrepresentative data is very frustrating and can lead to long delays in reaching a solution.

    2. Make sure that your desired solution is also shown (mock up the results manually).

    3. Make sure that all confidential information is removed first!!

    4. Try to avoid using merged cells. They cause lots of problems!

    Unfortunately the attachment icon doesn't work at the moment. So, to attach an Excel file you have to do the following: Just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  3. #3
    Registered User
    Join Date
    03-15-2017
    Location
    Nebraska
    MS-Off Ver
    2010
    Posts
    5

    Re: Matching Contact Info to Company Info Using ID Number

    Thanks, Glenn. I tried attaching the worksheet but it wouldn't load--maybe too big. I'll try again.

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Matching Contact Info to Company Info Using ID Number

    There is a file size limit (around 1Mb). more if you save as .xlsb

  5. #5
    Registered User
    Join Date
    03-15-2017
    Location
    Nebraska
    MS-Off Ver
    2010
    Posts
    5

    Re: Matching Contact Info to Company Info Using ID Number

    spreadsheet attached
    Attached Files Attached Files

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    43,984

    Re: Matching Contact Info to Company Info Using ID Number

    How does this look:

    to return a list of unique company IDs:
    =IFERROR(INDEX(Sheet1!$B$2:$B$20,MATCH(0,INDEX(COUNTIF($A$1:$A1,Sheet1!$B$2:$B$20),0),0)),"")

    To return company names (array formula):
    =IFERROR(INDEX(Sheet1!$C$2:$C$20,MATCH(1,(Sheet1!$C$2:$C$20<>"")*(Sheet1!$B$2:$B$20=$A2),0)),"")

    To return First names (array formula):
    =IFERROR(OFFSET(INDEX(Sheet1!$E$2:$E$20,MATCH(1,(Sheet1!$E$2:$E$20<>"")*(Sheet2!$A2=Sheet1!$B$2:$B$20),0)),,-1,,),"")

    To return Last names (array formula):
    =IFERROR(INDEX(Sheet1!$E$2:$E$20,MATCH(1,(Sheet1!$E$2:$E$20<>"")*(Sheet2!$A2=Sheet1!$B$2:$B$20),0)),"")

    Array Formulae are a little different from ordinary formulae in that they MUST be confirmed by pressing CTRL+SHIFT+ENTER to activate the array, not just ENTER.

    You will know the array is active when you see curly brackets { } - or "curly braces" for those of you in the USA, or "flower brackets" for those of you in India - appear around the outside of your formula. If you do not use CTRL+SHIFT+ENTER you will (almost always) get an error message or an incorrect answer. Press F2 on that cell and try again.

    Don't type the curly brackets yourself - it won't work...
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    03-15-2017
    Location
    Nebraska
    MS-Off Ver
    2010
    Posts
    5

    Re: Matching Contact Info to Company Info Using ID Number

    Thanks, Glenn! I ended up in meeting yesterday so didn't get to give it a try, but I will this morning. Appreciate the help!

  8. #8
    Registered User
    Join Date
    03-15-2017
    Location
    Nebraska
    MS-Off Ver
    2010
    Posts
    5

    Re: Matching Contact Info to Company Info Using ID Number

    All right, to quote my 11 year old son...derp. I've been doing this the hard way. What would the formula be if I matched the Account ID from both worksheets to get the company name and then paste that under the "Company" column in sheet 1?
    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. Contact info
    By horsefish01 in forum Excel General
    Replies: 6
    Last Post: 07-14-2015, 12:35 PM
  2. Replies: 5
    Last Post: 01-23-2014, 10:57 AM
  3. Excel 2007 : Help with formula on lookup info or matching info
    By Jerry Ellerbee in forum Excel General
    Replies: 4
    Last Post: 04-06-2011, 01:20 PM
  4. Matching card number to info
    By johnson142 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 08-28-2010, 10:39 AM
  5. transposing contact info
    By Ryan in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-28-2005, 02:06 PM
  6. Lost contact info, how do I get it back?
    By TRReno in forum Excel General
    Replies: 1
    Last Post: 06-30-2005, 07:05 PM
  7. [SOLVED] Can I link Contact info into an Excel doc?
    By brownbag_dab in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-28-2005, 04:06 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