+ Reply to Thread
Results 1 to 10 of 10

Find matching data, copy data in adjacent cell and paste in new column

  1. #1
    Registered User
    Join Date
    11-27-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    81

    Find matching data, copy data in adjacent cell and paste in new column

    Hello,
    Looking for a formula that will look at a part number in column A1 and find a matching part number in column D1 thru D55, then return the part number in column C next to the match it found in column D and enter the part number from column C into cell B1.
    I tried using =IF(ISERROR(MATCH(A1,$D$1:$D$55,0)) but this is as far as I could get.
    Hope this is not too confusing.
    Is this doable?
    Thanks for any help.
    Bikeman.

  2. #2
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Find matching data, copy data in adjacent cell and paste in new column

    Try

    =IFERROR(INDEX($C$1:$C$55,MATCH(A1,$D$1:$D$55,0)),"")

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,843

    Re: Find matching data, copy data in adjacent cell and paste in new column

    http://www.randomwok.com/excel/how-to-use-index-match/
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  4. #4
    Registered User
    Join Date
    11-27-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    81

    Re: Find matching data, copy data in adjacent cell and paste in new column

    Thanks Jonmo1,
    This did not work, I entered the formula into Cell B1 but it did not return any result. I did check and the part number in A1 is also found in column D.

    Also thanks for your quick response.

    Bikeman

  5. #5
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Find matching data, copy data in adjacent cell and paste in new column

    Can you post a sample book?
    Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic

  6. #6
    Registered User
    Join Date
    11-27-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    81

    Re: Find matching data, copy data in adjacent cell and paste in new column

    Jonmo1,

    Sorry I have tried to attach spread sheet but for some reason it will not work. I have done this many times, not sure what is going on. I even tried taking a picture (png.file) and uploading it but still no luck.

    Not sure where to go from here.

    Bikeman

  7. #7
    Registered User
    Join Date
    11-27-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    81

    Re: Find matching data, copy data in adjacent cell and paste in new column

    Jacc, Thanks for the info. Very helpful.

  8. #8
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Find matching data, copy data in adjacent cell and paste in new column

    I can only think of 2 reasons that formula would not return a result

    1. If the value of A1 does not exist in $D$1:$D$55
    Check for exact spelling, and extra spaces like "Hello" vs " Hello" vs "Hello "

    2. The value of A1 DOES exist in $D$1:$D$55, but the corresponding value from Column C is an error like #N/A

  9. #9
    Registered User
    Join Date
    11-27-2012
    Location
    Portland, Oregon
    MS-Off Ver
    Excel 2007
    Posts
    81

    Re: Find matching data, copy data in adjacent cell and paste in new column

    I copied A1 part number to the same part number in column D and it worked!
    I must of had some format issue as I did not see any space issue, I need to figure out what was different between the two.

    Thanks again your help.

    Bikeman

  10. #10
    Forum Guru Jonmo1's Avatar
    Join Date
    03-08-2013
    Location
    Bryan, TX
    MS-Off Ver
    Excel 2010
    Posts
    9,763

    Re: Find matching data, copy data in adjacent cell and paste in new column

    You're welcome

+ 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] Find matching value in one column to copy adjacent cell on same row
    By soradsauce in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-21-2020, 12:40 AM
  2. Find matching data and copy adjacent cell
    By Northernpig in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2014, 03:28 PM
  3. Find matching data and copy adjacent cell
    By Northernpig in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-02-2014, 03:18 PM
  4. [SOLVED] How to Find a Matching Pattern and Retrieve Data from the Adjacent Column
    By Saarang84 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 06-10-2014, 09:58 PM
  5. Need VBA to find matching data between worksheets & copy adjacent rows.
    By Helen62 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-16-2013, 12:19 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