+ Reply to Thread
Results 1 to 4 of 4

Find A Small Array In A Larger One And Copy Relative Cells Of The Row

  1. #1
    Registered User
    Join Date
    11-23-2017
    Location
    Antarctida
    MS-Off Ver
    7
    Posts
    3

    Cool Find A Small Array In A Larger One And Copy Relative Cells Of The Row

    Hello Everyone,

    My version of MS Office is 2007. I think there is no simple solution for my question - If there is a solution without using Macros then perfecto!!! But anyway if Macros can give a definitive answer, please don't hesitate to share it as I desperately need to know this. However, I never used macros, but anyway...........

    I have a random numbers array say from A2 to A12 filled with random numbers on Sheet1.
    Random numbers.jpg
    At the same time I have a large table which contains a lot of data, including my random numbers on Sheet2.
    Table array.jpg

    Now my question is - On Sheet 3 I want to extract respective rows from the Table array. I need to find all the values of the small array in the large table's column A, and extract respective rows in Sheet3.
    Final result.jpg

    In other words - I want to find A2 value in the Column A of the Table array and copy the remaining row into another sheet. Then look for A3 in the table, then A4, etc.. But I want the Excel to do it for me, otherwise this whole thing is pointless.

    One thing that is for sure - the random values are unique. so there shouldn't be any duplicates. Each random value in both arrays appears only once.

    If you read up to this point, then first of all thanks for your time, secondly if you think this is way too easy, then sorry.

    Anyway, I appreciate any help.

  2. #2
    Forum Expert José Augusto's Avatar
    Join Date
    10-29-2014
    Location
    Portugal
    MS-Off Ver
    2013-2016
    Posts
    3,329

    Re: Find A Small Array In A Larger One And Copy Relative Cells Of The Row

    Try in Sheet3!B2
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    and copy down and forward

  3. #3
    Registered User
    Join Date
    11-23-2017
    Location
    Antarctida
    MS-Off Ver
    7
    Posts
    3

    Re: Find A Small Array In A Larger One And Copy Relative Cells Of The Row

    I suppose I need to change Folha into Sheet in the provided formula. Unfortunately it didn't work for me

  4. #4
    Registered User
    Join Date
    11-23-2017
    Location
    Antarctida
    MS-Off Ver
    7
    Posts
    3

    Re: Find A Small Array In A Larger One And Copy Relative Cells Of The Row

    I've sorted out kinda... I've changed second folha into Sheet 1 in the MATCH function as it should read from the first sheet.
    it worked for me, but the problem is that the function does not return the Random number in Sheet 3. It returns whatever is in front of Random number. I'd like to have random number as well as shown in picture (Sheet3).

    Thanks a lot for your reply. it helped a lot!!

+ 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. How Small Function works when small(array,1),small(array,2) are same ?
    By bkvenkat in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 06-02-2015, 02:00 AM
  2. [SOLVED] Find specific value in array which appears multiple times and average all relative cells
    By nenadmail in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 01-24-2014, 04:18 PM
  3. creating a small list of needed data from a larger worksheet
    By MontyUSMC in forum Excel - New Users/Basics
    Replies: 7
    Last Post: 09-29-2011, 04:18 PM
  4. How to copy an array without changing relative cell refferences?
    By Dmitry in forum Excel Formulas & Functions
    Replies: 12
    Last Post: 06-20-2006, 09:10 AM
  5. Replies: 9
    Last Post: 06-20-2006, 08:15 AM
  6. How to copy an array without changing relative cell references?
    By Dmitry in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-19-2006, 10:15 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