+ Reply to Thread
Results 1 to 3 of 3

VBA function similiar to Vlookup function to extract data from multiple worksheets into 1

  1. #1
    Registered User
    Join Date
    01-03-2014
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Post VBA function similiar to Vlookup function to extract data from multiple worksheets into 1

    Greetings,

    Im having difficulties and would like to seek advice from experts in the forum. The situation is as below:

    My duty right now is to create a database of material pricing and I already created multiple worksheets in one excel. Here is the problem. I wanted to use Vlookup function on one worksheet, where when I type in the detail I want, it will look up the detail in other worksheets and bring out the information. For example, i have a list of worksheets from 1 to 10. The detail I type in is on different worksheet named worksheet A. How do I can have vlookup function from multiple workbooks into 1 workbook. Maybe using VBA or any function that are available in excel?

    Thank you for spending time attending my problem.

  2. #2
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,613

    Re: VBA function similiar to Vlookup function to extract data from multiple worksheets int

    If you know what sheet the detail you are looking for is in but just want to have flexible formula - Use INDIRECT to create second value for VLOOKUP
    If you want to search all tables, but the detail you are looking for is just in one of them you can either:
    - join tables into one sheet (probably you do not want it, do you?) or use

    =IF(ISERROR(VLOKOOP(in first sheet),"",VLOKOOP(in first sheet))&IF(ISERROR(VLOKOOP(in second sheet),"",VLOKOOP(in second sheet))...

    in Excel 2007 and next it could be shortened to
    =IFERROR(VLOKOOP(in first sheet),"")&IFERROR(VLOKOOP(in second sheet),"") ...

  3. #3
    Registered User
    Join Date
    01-03-2014
    Location
    Malaysia
    MS-Off Ver
    Excel 2003
    Posts
    12

    Re: VBA function similiar to Vlookup function to extract data from multiple worksheets int

    im trying to make a workable database, where all the data were entered at many different workbooks. and by typing just a piece of information, it can extract the relevant data from my workbooks into other workbook. is it possible?

+ 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. Creating an excel function which uses index functions (or something similiar)
    By joshnathan in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-12-2013, 04:20 PM
  2. Replies: 3
    Last Post: 01-05-2013, 02:20 AM
  3. Nested if and Vlookup function problem - multiple worksheets
    By Mariesmi80 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-11-2008, 03:39 PM
  4. [SOLVED] How to extract data from multiple worksheets..
    By Nagar in forum Excel General
    Replies: 1
    Last Post: 04-01-2005, 01:06 AM
  5. VLOOKUP Function using multiple worksheets
    By Fiona in forum Excel General
    Replies: 1
    Last Post: 03-10-2005, 05:06 AM

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