+ Reply to Thread
Results 1 to 3 of 3

Compare 1 column with another column and match data in next column

  1. #1
    Registered User
    Join Date
    02-25-2015
    Location
    Pretoria, South Africa
    MS-Off Ver
    2013
    Posts
    2

    Compare 1 column with another column and match data in next column

    Hi there,

    I'm not sure ifor there is a function like this so that's why I'm asking. Is it possible to compare column A with column B and then tale the data in column C, that corresponds with the data in column B, and male it show up in column D? I have some of the same data in column A and B but each column has different
    things missing, and the data in column C is part of the data fr column B, so I want to compare column A and B and if it matches then I want it to show the data in column D (column A and B are numbers as they and column C is text because it's a list of names). I hope that this makes sense to somebody as I am not sure what to do, if there isn't a function that helps with this I'm going to have to compare about 750 files individually.

    Thanks so much to whomever helps!
    Attached Images Attached Images

  2. #2
    Forum Expert Sam Capricci's Avatar
    Join Date
    06-14-2012
    Location
    Palm Harbor, Florida
    MS-Off Ver
    16.84 for Mac MS 365
    Posts
    8,499

    Re: Compare 1 column with another column and match data in next column

    if I understand you correctly, let's say you have a value in col A and you have values in col B and corresponding data to B in col C, you can use a vlookup in col D to find what is in A that matches in B and return value C.
    So something like =VLOOKUP(A1,B:C,2,FALSE) in col D will return the values from col A and their matches in col B and what is col C. Is that what you want?
    Otherwise it might be helpful to post a sample of your data so people can better solve the problem for you.
    Make contributors happy, click on the "* Add Reputation" as a way to say thank you.
    Sam Capricci

  3. #3
    Registered User
    Join Date
    02-25-2015
    Location
    Pretoria, South Africa
    MS-Off Ver
    2013
    Posts
    2

    Re: Compare 1 column with another column and match data in next column

    Thanks for your help, tthis was exactly what I needed, all I had to do was lock the column values and then it worked perfectly!

+ 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. Compare multiple columns (column A,column B,Column C) and return value (Column D)
    By john008 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-21-2015, 08:24 AM
  2. Is there a way to compare data of column 1 with column 3 and place it next to column 1?
    By SRINIVAS THANTHRI in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-19-2014, 12:59 PM
  3. [SOLVED] compare A and C column if match my logic display result in B column
    By vengatvj in forum Excel Formulas & Functions
    Replies: 13
    Last Post: 11-03-2013, 02:07 AM
  4. Compare values in column a to column b, and put it in column c if they match
    By lesoies in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-26-2013, 07:52 PM
  5. Copy data from column K to column B if Column C and column I match
    By goog2013 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-20-2013, 12:19 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