+ Reply to Thread
Results 1 to 2 of 2

vlookup help

  1. #1
    Forum Contributor
    Join Date
    06-20-2012
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    381

    vlookup help

    Hello,

    This should be simple but I'm have one of those days!

    On the attached sheet I need the Vlookup to display all the suppliers from the 'purchase orders' page from the description in B1 on the vlookup page. But it's only displaying the first supplier.

    Any idea?

    Attached Files Attached Files

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,852

    Re: vlookup help

    You need to set up a unique reference for each entry in your table, as VLOOKUP (and MATCH) will only find the first matching row. To do this, I have inserted a new column A in the Orders sheet and put this formula in A2:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    This is then copied down beyond your data, in order to accommodate more orders to be added - I've copied to row 500 (the hyphens help to indicate how far you have copied it), but you could make it more if you wish. You can hide columns A and B if you wish.

    Then in the Vlookup sheet I have changed your formula in A2 to this:

    Formula: copy to clipboard
    Please Login or Register  to view this content.


    and copied this down to ensure all possible returns are made (I've done it to row 20, and again the hyphens indicate, though you could leave them out here).

    Hope this helps.

    Pete
    Attached Files Attached Files

+ 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