+ Reply to Thread
Results 1 to 5 of 5

Vlookup to transfer multiple duplicates to a seperate sheet

  1. #1
    Registered User
    Join Date
    01-04-2013
    Location
    ohio
    MS-Off Ver
    Excel 2010
    Posts
    4

    Vlookup to transfer multiple duplicates to a seperate sheet

    I am making a spreadsheet for a physical inventory. The information in sheet 1 if the material that I am tracking. The "F" column is the location in the warehouse each item is in (B1, B2, B3 etc are the row names in the warehouse). We use a printed sheet that we hang on each row that tells you every item in that row. The spreadsheet in sheet 2 is the physical inventory tag that needs the data transfered to the proper fields. In sheet 2, I have five fields that need filled in based on data in sheet 1. I need help because of all the duplicate "Warehouse Row" names that are listed in sheet 1. Sheet 3 is an example of what the end result needs to look like.



    1.) On Sheet 2 Have A9 look at the value in C1
    2.) Take that value and find the first value on sheet 1 and return the information that is in the A column of the same row into A9 on sheet 2.
    3.) Then on Sheet 2 have A10 look at the value in C1
    4.) Take that value and find the second value on sheet 1 and return information that is in the A column of the same row into A10 on sheet 2.

    OR

    1.) On sheet 2 have A9:A35 take the value in C1
    2.) Find all the values of "Sheet 2 - C1" in the F column of sheet 1 and return all values from the A column for each matching item into Sheet 2 - A9:A35

    I'm familiar w/Vlookup, but I haven't used much of any "IS" or "Index" functions. I'm also thinking maybe an Array formula?? I'm also not too familiar with array formulas.

    The reason I'm not using a basic "Input" function is that this inventory is constantly being edited and the amount of material in each row varies widely.

    Here is my example: vlookup tape tags.xlsx

  2. #2
    Banned User!
    Join Date
    10-14-2006
    Posts
    1,211

    Re: Vlookup to transfer multiple duplicates to a seperate sheet

    End Result sheet, A9:

    =IFERROR(INDEX('Sheet 1'!A:A,SMALL(IF('Sheet 1'!$F$3:$F$17=$C$1,ROW('Sheet 1'!$F$3:$F$17)),ROWS($A$9:$A9))),"")

    Array Formula: Press Ctrl+Shift+Enter, not just Enter
    copy down and across

  3. #3
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Vlookup to transfer multiple duplicates to a seperate sheet

    Try this Array Formula (Cntrl+Shift+Enter to enter,not just Enter) in A9 of sheet2:
    Formula: copy to clipboard
    Please Login or Register  to view this content.

    Drag it down and to the right, it should return all the information for you

    Hope this helps

    Edit
    Aah, Mama beat me to it ...lol
    A picture may be worth a thousand words, BUT, a sample Workbook is worth a thousand screenshots!
    -Add a File - click advanced (next to quick post), scroll to manage attachments, click, select add files, click select files, select file, click upload, when file shows up at bottom left, click done (bottom right), click submit
    -To mark thread Solved- go top of thread,click Thread Tools,click Mark as Solved
    If you received helpful response, please remember to hit the * of that post

  4. #4
    Registered User
    Join Date
    01-04-2013
    Location
    ohio
    MS-Off Ver
    Excel 2010
    Posts
    4

    Re: Vlookup to transfer multiple duplicates to a seperate sheet

    Wow! That works so well! I know a lot more about Index, Row, and Excel logic thanks to that one! Thank you both!

  5. #5
    Forum Expert dredwolf's Avatar
    Join Date
    10-27-2012
    Location
    Clearwater,Canada
    MS-Off Ver
    Excel 2007
    Posts
    2,649

    Re: Vlookup to transfer multiple duplicates to a seperate sheet

    You are welcome !

+ 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