+ Reply to Thread
Results 1 to 2 of 2

Bring value based on criteria from multiple variable number of sheets

  1. #1
    Registered User
    Join Date
    04-01-2021
    Location
    Latvija
    MS-Off Ver
    MS 2016
    Posts
    27

    Bring value based on criteria from multiple variable number of sheets

    Good morning. I'm trying to do a lookup with a single criteria across multiple sheets. I have Data sheet where I need to bring Cu based on Lab.Nr. from multiple variable number of sheets.

    Thank you!
    Attached Files Attached Files
    Last edited by Inese; 01-19-2022 at 04:18 AM.

  2. #2
    Forum Guru
    Join Date
    08-28-2014
    Location
    USA
    MS-Off Ver
    Excel 2019
    Posts
    17,540

    Re: Bring value based on criteria from multiple variable number of sheets

    Perhaps this will help.
    The 2016 version of Excel comes standard with Get & Transform aka Power Query.
    1. Produce Excel tables of the data on the 1, 2 and 3 sheets by selecting 1 cell in each range and pressing the Ctrl + t keys
    2. Use Get & Transform to make connections to each of the tables.
    The Power Query Advanced Editor code is:
    Please Login or Register  to view this content.
    3. Use Get & Transform to produce an appended table of the three connections.
    The Power Query Advanced Editor code is:
    Please Login or Register  to view this content.
    Note that when new data is added to any of the three tables on the 1, 2 or 3 sheets then go to Query Tools > Query and select the Refresh.
    4. The formula for column B on the Data sheet may be: =INDEX(Append1[CU],MATCH(A3,Append1[Lab. Nr.],0))
    Let us know if you have any questions.
    Consider taking the time to add to the reputation of everybody that has taken the time to respond to your query.

+ 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. Macro to bring back rows from multiple sheets to one master sheet based on criteria
    By Fraser1605 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-02-2021, 01:18 PM
  2. [SOLVED] bring data from multiple sheets to one sheet based on name sheets
    By ABDELFATTA in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-01-2020, 05:27 PM
  3. [SOLVED] Setting row number as a variable based on MATCH criteria
    By theTaoJones in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-04-2020, 10:58 AM
  4. Pulling Data From Multiple Sheets Into A Summary With Variable Criteria
    By stinkyd in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-04-2015, 04:15 PM
  5. Sum Across a Variable Range of Sheets Based on Multiple Criteria
    By jpinho88 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 01-06-2015, 04:28 PM
  6. How to concatenate a variable number of rows/cells based on multiple criteria?
    By jonharadon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-16-2012, 09:22 PM
  7. Bring Back Multiple Items Based on Common Number
    By 3ric in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 05-01-2007, 02:44 PM

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