+ Reply to Thread
Results 1 to 3 of 3

Searching and comparing columns, and returning value into different column

  1. #1
    Registered User
    Join Date
    12-18-2014
    Location
    Edmonton
    MS-Off Ver
    2010
    Posts
    2

    Searching and comparing columns, and returning value into different column

    Please help!

    I have an exising data in which column A contains about 1000 names of different sites across the country, and column B which contains the corresponding managers names. Many of names in column B appear multiple times as same person may manage multiple sites.

    Now, i have a new list of about 1500 records which don't have corresponding managers names beside. I put this in column C.

    How do check if value in C1 appear in Column A, and if yes, copy the value of B1 into D1? Is this possible?

    Thank you for your help.

  2. #2
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: Searching and comparing columns, and returning value into different column

    in D1
    =IF(ISNA(VLOOKUP(C1,A$1:B$1000,2,0)),"",VLOOKUP(C1,A$1:B$1000,2,0))
    and copy down the column
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  3. #3
    Registered User
    Join Date
    12-18-2014
    Location
    Edmonton
    MS-Off Ver
    2010
    Posts
    2

    Re: Searching and comparing columns, and returning value into different column

    Thank you so much 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. [SOLVED] Comparing Values in Two Columns and Returning Value from another Column
    By GOPALAKRISHNANGK in forum Excel General
    Replies: 4
    Last Post: 11-12-2014, 01:46 AM
  2. [SOLVED] Comparing two columns and returning the number of cells in one column with higher values
    By heresteve2 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-08-2014, 01:06 PM
  3. Replies: 19
    Last Post: 03-15-2014, 04:50 PM
  4. Comparing 2 columns and returning a value of a 3rd column
    By usmc0331 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 05-17-2013, 10:55 AM
  5. Replies: 5
    Last Post: 05-04-2011, 06:51 PM

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.6.0 RC 1