+ Reply to Thread
Results 1 to 6 of 6

Perform a vlookup between worksheets

  1. #1
    Registered User
    Join Date
    10-31-2013
    Location
    Warwickshire
    MS-Off Ver
    Excel 2010
    Posts
    3

    Perform a vlookup between worksheets

    I have a master stock list of which i would like to pull across the details of biscuits coming from the UK into another sheet. There is a column with the location code and I am looking to pull across the entire row of information on every biscuit from that country.

    At the moment I am putting the following formula into the cell:

    =VLOOKUP("location code",'[global biscuit list file name]Global List'!$B$2:$AZ$1023,2,FALSE)

    column 2 is the biscuit name, which is the first piece of info I'd like to pull across.

    Any help would be greatly appreciated.

    Cheers
    Attached Files Attached Files
    Last edited by peatt13; 10-31-2013 at 07:11 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Perform a vlookup between worksheets

    Hi
    You don't need to use VLOOKUP for this. You can use the Advanced Filter option. See the following link for instructions:

    http://www.contextures.com/xladvfilt...l#createfilter

    Good luck.
    Tony

  3. #3
    Registered User
    Join Date
    10-31-2013
    Location
    Warwickshire
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Perform a vlookup between worksheets

    Okay, thanks for that.

    That will let me copy the data across a little quicker, once I work out how to set criteria properly, however, I was ideally looking for a method to ensure that even if the master list changed, the sheets that have taken information from the master list can be updated quickly.

    For example, if a location changed, this information could be fed down into the associated workbooks.

  4. #4
    Valued Forum Contributor
    Join Date
    10-26-2008
    Location
    Birmingham, UK
    MS-Off Ver
    All versions up to 2010
    Posts
    1,025

    Re: Perform a vlookup between worksheets

    Hi
    I have created a macro which automatically runs when any cell on Sheet 1 changes. So if you add new data to sheet 1 for example the filter will re-run onto Sheet 2.
    The code will cope with a maximum of 1000 rows currently.
    Let me know if you need any further help.
    Good luck.
    Tony
    Attached Files Attached Files

  5. #5
    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
    52,917

    Re: Perform a vlookup between worksheets

    Hi and welcome to the forum. You dont need VBA for this, take a look at he attached.

    I used a helper column on sheet1, then on sheet2, I extract all unique countries (added 1 to test). I added a Drop-down to select the country, then under that it pulls out all the info
    Attached Files Attached Files
    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

  6. #6
    Registered User
    Join Date
    10-31-2013
    Location
    Warwickshire
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Perform a vlookup between worksheets

    Hi,

    Thanks for all the responses. The formula you wrote works well, but I can't adapt it to my full table of information. I think a pivot table is doing what I require, and by linking the workbooks via "connections" I can update whenever necessary

    Thanks again,

+ 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. Need macro to perform certain actions on many different worksheets
    By MissaLissa in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 03-07-2013, 05:43 PM
  2. Perform a macro on multiple worksheets
    By XL2008 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 01-07-2011, 02:32 AM
  3. Perform same task on all worksheets in workbook
    By markrennolds in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 11-10-2010, 09:52 AM
  4. [SOLVED] perform: Merging multiple worksheets
    By commissionerwalker in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 02-07-2006, 12:30 PM
  5. How to perform action in all worksheets
    By Sethaholic in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-11-2005, 02:44 PM

Tags for this Thread

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