+ Reply to Thread
Results 1 to 8 of 8

copy/paste range of cells if cell matches another cell in another worksheet

  1. #1
    Registered User
    Join Date
    06-22-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    6

    copy/paste range of cells if cell matches another cell in another worksheet

    Hi Guys,

    Hopefully i explain this correctly, i dont mind if its a macro or formula. ive tried using MATCH and Vlookup and maybe i am over complicating this.

    I need:

    If a cell in H5:H101 in sheet 'InstallChecks' Matches a cells in H6:H98 in sheet 'ActiveDirectoryIntegration' then copy from cell G6:G98 in sheet 'ActiveDirectoryIntegration'
    where match found to cell N5:N101 in sheet 'InstallChecks'

    let me know if you need an example file and i will strip out some data.

  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,910

    Re: copy/paste range of cells if cell matches another cell in another worksheet

    Example file - yes, please.

    Unfortunately the attachment icon doesn't work at the moment, so to attach an Excel file you have to do the following: just before posting, scroll down to Go Advanced and then scroll down to Manage Attachments. Now follow the instructions at the top of that screen.
    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
    06-22-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    6

    Re: copy/paste range of cells if cell matches another cell in another worksheet

    Here you go, Thanks.
    Attached Files Attached Files

  4. #4
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: copy/paste range of cells if cell matches another cell in another worksheet

    I am none the wiser.

    Take a deep breath and (with reference to the sheet you posted) explain again!! What do you want returned? Where do you want it to appear?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU.

    Temporary addition of accented to illustrate ongoing problem to the TT: L? fh?ile P?draig sona dhaoibh

  5. #5
    Registered User
    Join Date
    06-22-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    6

    Re: copy/paste range of cells if cell matches another cell in another worksheet

    Haha sorry Glenn, im clearly over complicating this.

    On tab ActiveDirectoryIntegration i need the 'New password' field to be copied to the 'Password' Field on tab Install Checks.
    But this needs to be matched on the user code.

    Hopefully that helps.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: copy/paste range of cells if cell matches another cell in another worksheet

    In Install checks, N5, copied down:

    =IFERROR(INDEX(ActiveDirectoryIntegration!$G$6:$G$98,MATCH(InstallChecks!H5,ActiveDirectoryIntegration!$H$6:$H$98,0)),"")


    ... I think!!

  7. #7
    Registered User
    Join Date
    06-22-2017
    Location
    London
    MS-Off Ver
    2016
    Posts
    6

    Re: copy/paste range of cells if cell matches another cell in another worksheet

    hallelujah Thank you Glenn..
    Last edited by AliGW; 10-16-2018 at 07:33 AM.

  8. #8
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2403
    Posts
    44,055

    Re: copy/paste range of cells if cell matches another cell in another worksheet

    Woo Hooo!!

    You're welcome.



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

    It'd also be appreciated if you were to click the Add Reputation button at the foot of any of the posts of all members who helped you reach a solution.

+ 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: 4
    Last Post: 11-03-2017, 10:10 AM
  2. VBA Match Cell Range to Worksheet Name and copy/paste to respective worksheet
    By rlsublime in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 10-24-2014, 04:06 PM
  3. Reference cell in worksheet to copy paste cell range from different worksheet
    By gbatz in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-16-2014, 04:33 PM
  4. Match Cell Value to Worksheet Name Then Copy/ Paste Range to Worksheet
    By matt2072 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-31-2014, 01:23 PM
  5. Copy cell information from one worksheet if a cell matches the criteria
    By grammydeb52 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-02-2013, 01:00 AM
  6. Vba code to copy and paste second visible cell to other worksheet range then the next
    By Justin25150 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-09-2012, 09:03 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