+ Reply to Thread
Results 1 to 4 of 4

Help Required possible Vlookup

  1. #1
    Registered User
    Join Date
    06-26-2017
    Location
    birmingham, england
    MS-Off Ver
    2013
    Posts
    5

    Help Required possible Vlookup

    Hi

    Help would be gratefully received.


    Im looking for a way to to retrieve data from 1 work sheet to another.

    e.g Sheet 1 contains the following data

    Name weight cost code
    apples 3lb 3.65 aa11
    apples 2lb 2.99 ab12
    apples 6lb 7 ab11
    apples 5lb 6.2 ab13
    pears 1lb 1.49 pb1
    pears 3lb 4.2 pb2
    pears 2lb 2.8 pb3
    grapes 5lb 4.49 gb1
    grapes 4lb 4.68 gb2

    On sheet 2 I type the name 'apples' in say cell A1 which then will return all the information for Apples e,g Weight cost and code.

    I have tried using Vlookup but can only seem to get one cell.

    again I would be grateful for help.

    Thanks in advance.

  2. #2
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Help Required possible Vlookup

    Let's say that the data is in A1:C10 of Sheet1 and that you have Name, Weight, and Cost Code in A1, B1 and C1 of Sheet 2.

    With "apples" in A2 of Sheet 2, in B2 of Sheet2, try this:

    =IFERROR(INDEX(Sheet1!B$2:B$10,SMALL(IF(Sheet1!$A$2:$A$10=$A$2,ROW(Sheet1!$A$2:$A$10)-(ROW(Sheet1!$A$2)-1)),ROWS($A$1:$A1))),"") Ctrl Shift Enter

    Drag this over to C2 and then down until you get blanks.

  3. #3
    Registered User
    Join Date
    06-26-2017
    Location
    birmingham, england
    MS-Off Ver
    2013
    Posts
    5

    Re: Help Required possible Vlookup

    Hi


    Thanks, that as work perfect.

    Much appreciated

  4. #4
    Forum Expert 63falcondude's Avatar
    Join Date
    08-22-2016
    Location
    USA
    MS-Off Ver
    365
    Posts
    6,266

    Re: Help Required possible Vlookup

    You're welcome. Happy to help.

    If this answered your question, please mark this thread as SOLVED.

+ 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. VLookup help required
    By AliHurworth in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 12-18-2013, 09:36 AM
  2. [SOLVED] Help required against VLOOKUP.
    By khanjee in forum Excel Formulas & Functions
    Replies: 17
    Last Post: 06-23-2013, 11:16 AM
  3. Help required with Vlookup and INDIRECT
    By excel_slave in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-05-2007, 08:50 AM
  4. Nested IF with Vlookup Help Required?
    By NKRA in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-30-2007, 04:35 PM
  5. [SOLVED] VLOOKUP - more than one return required
    By luvthavodka in forum Excel General
    Replies: 3
    Last Post: 05-27-2006, 01:15 PM
  6. [SOLVED] vlookup vs if, help required
    By CraigSA in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-11-2006, 11:00 AM
  7. Vlookup help required
    By Pedros in forum Excel General
    Replies: 5
    Last Post: 03-01-2006, 03: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