+ Reply to Thread
Results 1 to 2 of 2

Thread: Comparing 2 columns and flagging matches

  1. #1
    Registered User
    Join Date
    11-03-2010
    Location
    us
    MS-Off Ver
    Excel 2003
    Posts
    1

    Comparing 2 columns and flagging matches

    Hello all. I am a new excel formula user in need of assistance.

    I have a spreadsheet with several columns of data...excel 2k3. I'm simply trying to compare 2 columns and create or flag matches. The data contains alpha numerics in both columns. 1 column is single computer hostnames, the other is computer host names with fully qualified domain name. i.e

    column1 column2
    wwxxyy01 wwxxyy01.aa.bb.com

    Column 1 contains approx 500 hostnames. Column 2 contains approx 8000 fully qualified names. I'm looking to simply get the column 2 information (out of 8000) into the 500 items in column 1.

    As I mentioned....very new....just seems simple enough but seem to be having trouble with vlookup, match, index, search...etc

    Thanks for the help.
    Last edited by jmacdawg; 11-03-2010 at 05:27 AM. Reason: re-title heading

  2. #2
    Forum Guru TMShucks's Avatar
    Join Date
    07-15-2010
    Location
    Manchester, England
    MS-Off Ver
    MSO 2003 & 2007
    Posts
    6,225

    Re: vlookup, search, match new formula user

    It depends on what approach you want to take and if this is a one off exercise ... and possibly lots of other factors. And the structure of your data may have a bearing on the approach.

    Based on the information provided and assuming there is no data after column 2, I'd use Data | Text to Columns delimited by a "." (no quotes) and output the results in column C onwards. I would then use an Advanced Filter | Unique entries to get a list of unique (duh) entries which you can then sort. Then use VLOOKUP or a simple COUNTIF to check which ones are in or missing from column A.

    Posting a sample workbook is always the best way to ensure a quick and definitive (?) solution.

    Regards

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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.2.0