+ Reply to Thread
Results 1 to 6 of 6

Copying adjacent cells from matches in other worksheet

  1. #1
    Registered User
    Join Date
    05-08-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Copying adjacent cells from matches in other worksheet

    Hello - I have a spreadsheet which has a source worksheet, containing 2 columns with thousands of client numbers and account numbers. I have a destination worksheet which contains certain account numbers which are featured in the source sheet.

    What I need to do is pull the matching client numbers across from the source sheet into the destination sheet. An example is attached.

    Any help much appreciated!
    Attached Files Attached Files
    Last edited by amcg; 05-08-2014 at 02:15 PM.

  2. #2
    Forum Expert
    Join Date
    02-19-2013
    Location
    India
    MS-Off Ver
    07/16
    Posts
    2,386

    Re: Copying adjacent cells from matches in other worksheet

    Hello Amcg! Welcome to the forum try below in a2
    =INDEX('Source Worksheet'!$B$2:$B$14,MATCH(B2,'Source Worksheet'!$C$2:$C$14,0))
    drag down
    CHange the references to meet you actual data requirement
    But will work in case you don't have duplicates.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    WANT TO SAY THANKS, HIT ADD REPUTATION (*) AT THE BOTTOM LEFT CORNER OF THE POST

    More we learn about excel, more it shows us, how less we know about it.

    for chemistry
    https://www.youtube.com/c/chemistrybyshivaansh

  3. #3
    Registered User
    Join Date
    05-08-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Copying adjacent cells from matches in other worksheet

    Many thanks - will give this a go. Much appreciated!

  4. #4
    Forum Contributor
    Join Date
    05-09-2014
    MS-Off Ver
    Excel 2017
    Posts
    300

    Re: Copying adjacent cells from matches in other worksheet

    This is a great example


    Sent from my iPhone using Tapatalk

  5. #5
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Copying adjacent cells from matches in other worksheet

    amcg,

    Based on your last post in this thread, its apparent that you are satisfied with the solution(s) you've received and have solved your question, but you haven't marked your thread as "SOLVED". I will do it for you this time.

    In future, to mark your thread as Solved, you can do the following -
    Select Thread Tools-> Mark thread as Solved.

    Incase your issue is not solved, you can undo it as follows -
    Select Thread Tools-> Mark thread as Unsolved.

    Also, since you are relatively new to the forum, i would like to inform you that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post which helped you. This adds to the reputation of the person who has taken the time to help you.
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  6. #6
    Registered User
    Join Date
    05-08-2014
    MS-Off Ver
    Excel 2010
    Posts
    5

    Re: Copying adjacent cells from matches in other worksheet

    Ah of course. Yes, I clicked the star icon but forgot to click 'solved'. Noted for next time - thanks for pointing it out!

+ 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. Copying these formulas to adjacent cells across the worksheet.
    By LeapingLizard in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 03-18-2014, 09:46 PM
  2. Copying row from one worksheet to another if a specific cell matches
    By Indy Amy in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-07-2013, 04:11 PM
  3. [SOLVED] Copying adjacent cell over from different worksheet
    By dlamberth in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2013, 03:44 PM
  4. Copying cells between spreadsheets only if data in row matches
    By intangible in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 10-19-2012, 06:08 PM
  5. Copying non-adjacent cells
    By gtoman in forum Excel General
    Replies: 2
    Last Post: 11-18-2008, 07:51 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