+ Reply to Thread
Results 1 to 4 of 4

Pulling Data From Quotes in Other Workbooks

  1. #1
    Registered User
    Join Date
    08-27-2019
    Location
    Rhode Island, USA
    MS-Off Ver
    Microsoft Excel for Office 365 MSO
    Posts
    2

    Pulling Data From Quotes in Other Workbooks

    Hello,

    I'm working to develop a master Excel sheet to compare data from a folder of workbooks. Using VLOOKUP, I am able to have the master search through a range of cells, find the corresponding data (whether it is material cost, or labor cost for example, by searching for these words), and populate the correct cell in the master workbook.

    This works well, however, it requires manually opening the other files and selecting the range for the master to parse. For final use, I want the master to be able to look at each other workbook in the folder, find the data similar to VLOOKUP, and then populate the corresponding cell in the master file.

    I've been able to use some VBA to generate a list of cells of every xls in a folder, but running into problems actually using this list with a VLOOKUP. When referenced manually, it seems to automatically add ' and [ and ], as well as a reference to the sheet. How can I go about automating this?

    Some assumptions:
    1 sheet in every file I am pulling data from
    I am pulling the values and creating a table comparing Product Name, Material Cost, and Labor Cost.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Pulling Data From Quotes in Other Workbooks

    Welcome to the forum

    Please attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Registered User
    Join Date
    08-27-2019
    Location
    Rhode Island, USA
    MS-Off Ver
    Microsoft Excel for Office 365 MSO
    Posts
    2

    Re: Pulling Data From Quotes in Other Workbooks

    Thanks for your update, I've attached a "Master File" example file, as well as a couple dummy bill of materials. It is okay if these would be in the same directory, but being able to have the bill of materials in a separate folder would be preferable.

    Please let me know if anything needs clarification.

  4. #4
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Pulling Data From Quotes in Other Workbooks

    This is straightforward, using Power Query (Get & Transform Data):

    Please Login or Register  to view this content.
    Change the source folder as required, to the folder containing your BOM data files.
    Attached Files Attached Files
    Last edited by Olly; 08-28-2019 at 11:10 AM.

+ 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. pulling data from one set of workbooks to another
    By jimboryan in forum Excel General
    Replies: 2
    Last Post: 12-21-2015, 06:02 PM
  2. Pulling data from other workbooks
    By rik81h in forum Excel General
    Replies: 2
    Last Post: 12-03-2013, 11:05 AM
  3. Pulling in Stock Quotes via Web Query
    By SilverDollar in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-27-2008, 11:44 AM
  4. Pulling Data from 1 of 3 Workbooks
    By Magusgre in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-13-2007, 12:29 PM
  5. [SOLVED] pulling stock quotes into a spreadsheet
    By [email protected] in forum Excel General
    Replies: 3
    Last Post: 07-03-2006, 09:25 AM
  6. almost got it, but need help- pulling data from other workbooks
    By KR in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-04-2006, 04:10 PM
  7. VBA pulling data from other workbooks?
    By ph8 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-24-2006, 12:35 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