+ Reply to Thread
Results 1 to 3 of 3

Need to compare two columns and add values to a new column.

  1. #1
    Registered User
    Join Date
    05-21-2013
    Location
    america
    MS-Off Ver
    Excel 2003
    Posts
    5

    Need to compare two columns and add values to a new column.

    I have column A that has email addresses that I need to compare to column B (also emails obviously). Now heres the tricky part, if there is a match I need to input a value (Y or N for example) into a blank column to diffrentiate between some of these rows. Now the two columns are not the same size, meaning column A is about 2000 rows less than column B so it needs to input the value on the proper row of the match. Can this be done?

  2. #2
    Valued Forum Contributor Harribone's Avatar
    Join Date
    02-24-2013
    Location
    Midlands, UK
    MS-Off Ver
    Excel 2019/365
    Posts
    570

    Re: Need to compare two columns and add values to a new column.

    Need a little more detail to this. At first I thought you were comparing A and B values on the same row (A1 and B1, A2 and B2 etc) but it seems like you want to see if A1 for example is found anywhere in Column B? Can you please explain exactly how you want to search/compare each column etc. Also where will the Y/N value go?

    It would be best to create a workbook with mock data to show what you are trying to achieve here. It doesn't need to be a massive file, just create one that is similar in data to your real file. To upload this file click Go Advanced futher down on this page and then click Manage Attachments.
    Say thanks, click *

  3. #3
    Registered User
    Join Date
    05-21-2013
    Location
    america
    MS-Off Ver
    Excel 2003
    Posts
    5

    Re: Need to compare two columns and add values to a new column.

    Yes. I need to see if any values from column A match any values in column B. If there is a match, I need the new value to go into the new column (M) of the row that matches the value from column A.
    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)

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