+ Reply to Thread
Results 1 to 6 of 6

How to compare two columns and transfer value

  1. #1
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    How to compare two columns and transfer value

    Hi,,

    I am attaching sample sheet where I want two columns( A & C) to be compared and then the value of Column B gets inserted in Column D from column B in front of the correct Name.

    Thank you
    Attached Files Attached Files
    Last edited by exceldoubts; 02-13-2019 at 03:28 AM.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: How to compare two columns and transfer value

    Why do you not want the serial numbers for M and N returning?

    If you do, then in D2 copied down:

    =VLOOKUP(C2,$A$2:$B$15,2,0)
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  3. #3
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: How to compare two columns and transfer value

    Sorry....Oh I forgot to fill it ...I want for each Value.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: How to compare two columns and transfer value

    So, use the formula in post #2.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,647

    Re: How to compare two columns and transfer value

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED. Thanks.

  6. #6
    Registered User
    Join Date
    12-04-2012
    Location
    India
    MS-Off Ver
    Excel 2007
    Posts
    31

    Re: How to compare two columns and transfer value

    Thank you so much for your help.

+ 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: 1
    Last Post: 08-24-2017, 04:56 AM
  2. Compare Columns in Two Sheets. If Match, Transfer data in Cell from Sheet 1 to Shet 2
    By beconajoonu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-30-2016, 12:32 AM
  3. compare name in one sheet with sheet2 and transfer .
    By gilnic in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-19-2015, 09:45 AM
  4. [SOLVED] Compare Data in 2 Columns in 2 sheet When there is a match transfer data from 2nd Column
    By kellyjo7 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-19-2015, 01:05 PM
  5. Compare two spreadsheets then transfer information to different spreadsheet
    By onewaytrip in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 11-06-2013, 08:47 PM
  6. compare 2 worksheets & transfer cell colors
    By LeeHa in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-01-2008, 08:54 AM
  7. Transfer and compare data
    By gwrach in forum Excel - New Users/Basics
    Replies: 3
    Last Post: 07-31-2008, 02:40 AM

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