+ Reply to Thread
Results 1 to 2 of 2

"Advanced" search and auto-copy

  1. #1
    Registered User
    Join Date
    06-14-2012
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    "Advanced" search and auto-copy

    Greetings.

    I am new to this forum and not very skilled with excel formulas. I hope someone can help with this potentially stupid question:

    Let's say I have one excel sheet with a single, essentially random number in one cell. Is there a way to write a simple formula that can search for an identical cell in another, specific sheet or document and, if found, copy the entire row with that identical cell in the second sheet/document into the first sheet, preferrably right next to original cell? If it helps, the "random" number will appear at most only once in the second sheet/document, but may not appear at all.

    Thank you for your help.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    53,044

    Re: "Advanced" search and auto-copy

    you could use a match() or vlookup() to 1st search for the number in the other sheet, and then use vlookup to return the rest of the data.

    if you provide a sample i can get something started for you?
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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