+ Reply to Thread
Results 1 to 11 of 11

Excel Lookup / Find

  1. #1
    Registered User
    Join Date
    08-20-2014
    Location
    winnipeg
    MS-Off Ver
    excel 2007
    Posts
    6

    Excel Lookup / Find

    1. i have a list of email addresses in column A. about 3000
    2. in column B I have a list of domains - about 400. A lot of email addresses in column A belong to these domains. But I am not able to find them through vlookup. The reason being that in column A an email address will be listed as [email protected]. But in column B (domain name column) it would be listed as abc.ca.

    What i need to do is find all the records in column A that contain the domain names listed in Column B regardless of the extension .com or .ca and remove them.

    right now i am doing them using custom auto filter and this is time consuming. please help!
    Last edited by ambrosez; 08-20-2014 at 11:45 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Excel Lookup / Find

    Hi, welcome to the forum

    1. If you just want to highlight them, you could use Conditional Formatting (This might not be what you need to use for 1000 records though)
    Highlight the range, select Conditional Formatting from te Home Tab
    select Format Only Cells that Contain/click the Format Only Cells With, and select Specific Text, enter abc, sele3ct a format color and "ok"

    2. You could use a helper column and copy this down...
    =IFERROR(SEARCH("abc",J3,1),"")
    Then apply filters (home tab, at the end) and under the dropdown, uncheck Blanks
    You will be left with a list that contains abc.

    IOf you want, you can put the abc in its own cell and reference it, to make it more dynamic
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    08-20-2014
    Location
    winnipeg
    MS-Off Ver
    excel 2007
    Posts
    6

    Re: Excel Lookup / Find

    thanks so much ford. i am sorry but I realize that i needed to be more specific.

    1. i have a list of email addresses in column A. about 3000
    2. in column B I have a list of domains - about 400. A lot of email addresses in column A belong to these domains. But I am not able to find them through vlookup. The reason being that in column A an email address will be listed as [email protected]. But in column B (domain name column) it would be listed as abc.ca.

    What i need to do is find all the records in column A that contain the domain names listed in Column B regardless of the extension .com or .ca and remove them.

    right now i am doing them using custom auto filter and this is time consuming. please help!

  4. #4
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Excel Lookup / Find

    Can you upload a small (clean) sample of what you are working with, and what your expected outcome would look like.

  5. #5
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Excel Lookup / Find

    make a helper column C and use =replace(a1,"@abc.com",".ca") and vlookup against that perhaps
    You should hit F5, because chances are I've edited this post at least 5 times.
    Example of Array Formulas
    Quote Originally Posted by Jacc View Post
    Sorry, your description makes no sense. I just made some formula that looks interesting cause I had nothing else to do.
    Click the * below on any post that helped you.

  6. #6
    Valued Forum Contributor
    Join Date
    01-19-2012
    Location
    Barrington, IL
    MS-Off Ver
    Excel 2007/2010
    Posts
    1,211

    Re: Excel Lookup / Find

    Actually


    =vlookup(LEFT(A1,FIND("@",A1)-1)&".ca",TABLE_ARRAY,COL_INDEX,FALSE)
    Last edited by Speshul; 08-21-2014 at 12:27 AM.

  7. #7
    Registered User
    Join Date
    08-20-2014
    Location
    winnipeg
    MS-Off Ver
    excel 2007
    Posts
    6

    Re: Excel Lookup / Find

    excel problem.jpg

    what i have to do is find all the website names in column C one by one to see if they exist in column a and remove them. so what i am doing is copying the domain name "wfmsinc" as listed in the column c of the image to filter it in column a to see if any email addresses against this domain exist or not and then deleting them. what im hoping is that i do this simultaneously for all the records in column c.

  8. #8
    Registered User
    Join Date
    08-20-2014
    Location
    winnipeg
    MS-Off Ver
    excel 2007
    Posts
    6

    Re: Excel Lookup / Find

    excel problem.jpg

    what i have to do is find all the website names in column C one by one to see if they exist in column a and remove them. so what i am doing is copying the domain name "wfmsinc" as listed in the column c of the image to filter it in column a to see if any email addresses against this domain exist or not and then deleting them. what im hoping is that i do this simultaneously for all the records in column c.

  9. #9
    Registered User
    Join Date
    08-20-2014
    Location
    winnipeg
    MS-Off Ver
    excel 2007
    Posts
    6

    Re: Excel Lookup / Find

    please take a look at this image. im sure this will clearly explain what im doing manually and wish it could be done in one go. excel problem2.jpg

  10. #10
    Registered User
    Join Date
    08-20-2014
    Location
    winnipeg
    MS-Off Ver
    excel 2007
    Posts
    6

    Re: Excel Lookup / Find

    any luck with this?

  11. #11
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,938

    Re: Excel Lookup / Find

    Please upload a sample of your workbook, not a picture of your data. Pictures are pretty much impossible to edit, and no-one wants to re-type your data for you
    Also, not all members can upload picture files (Company firewalls and stuff)

    Your workbook should show a small desensitized example of the data you are working with and a manual mockup of the expected results.

+ 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. Replies: 3
    Last Post: 04-08-2014, 02:34 AM
  2. Replies: 8
    Last Post: 11-19-2012, 06:58 PM
  3. Excel 2007 : lookup --> find next! need help!
    By nguyenthao_0642 in forum Excel General
    Replies: 13
    Last Post: 09-27-2011, 08:03 AM
  4. Search lookup array to find lookup value contained within text string
    By Cookstein2 in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 09-02-2011, 09:42 AM
  5. Find Lookup help
    By RICOUK in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 01-21-2005, 03:49 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