+ Reply to Thread
Results 1 to 9 of 9

An array using vlookup/match or index/match or other pulling from multiple sheets.

  1. #1
    Registered User
    Join Date
    01-02-2024
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365 Apps for Enterprise (beta channel)
    Posts
    23

    Red face An array using vlookup/match or index/match or other pulling from multiple sheets.

    In the attached spreadsheet, I want to fill in the!Data_new sheet (F10:Bh210) with data from the "Item (x)" tabs. Each Row from one Item sheet.

    I have already automated generating the filtered list of Tabs in Dropdowns!E21#

    Each row in the !Data_new range will only have up to 8 fields to add from the respective Item sheet where the cell in row F4:BH4 matches the name of an Item's Value Source (B17:B23).

    It should write the corresponding Value Impact number from the Item tab (G17:G24) to the cell in !data_new.

    All cells without a match should be 0

    Thanks.
    Mike

  2. #2
    Registered User
    Join Date
    01-02-2024
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365 Apps for Enterprise (beta channel)
    Posts
    23

    Re: An array using vlookup/match or index/match or other pulling from multiple sheets.

    This formula partially works:
    =IFERROR(INDEX('Item (1)'!$G$17:$G$24,MATCH(G4,'Item (1)'!$B$17:$B$24,0)),0)

    But I must manually create it for each Item sheet and copy it across to the right.
    Last edited by MikeInAu; 01-03-2024 at 03:35 AM. Reason: More info
    Regards,
    Mike

  3. #3
    Forum Expert
    Join Date
    05-05-2015
    Location
    UK
    MS-Off Ver
    Microsoft Excel for Microsoft 365 MSO (Version 2402 Build 16.0.17328.20068) 64-bit
    Posts
    31,172

    Re: An array using vlookup/match or index/match or other pulling from multiple sheets.

    In your posted file G4 appears in "Item(2)" sheet [ although it could be selected in Item(1) ? ]so I do not see any correlation between Item sheets and F4:BH4 data
    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

  4. #4
    Registered User
    Join Date
    01-02-2024
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365 Apps for Enterprise (beta channel)
    Posts
    23

    Re: An array using vlookup/match or index/match or other pulling from multiple sheets.

    Quote Originally Posted by JohnTopley View Post
    In your posted file G4 appears in "Item(2)" sheet [ although it could be selected in Item(1) ? ]so I do not see any correlation between Item sheets and F4:BH4 data
    While there could be 50+ options across the Data_new row 4 (sourced from the Value Drivers tab), each Item page will only have 3-6 data points.

    Does that make sense?

  5. #5
    Registered User
    Join Date
    01-02-2024
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365 Apps for Enterprise (beta channel)
    Posts
    23

    Re: An array using vlookup/match or index/match or other pulling from multiple sheets.

    I've updated the spreadsheet with the manual formula.
    Last edited by MikeInAu; 01-06-2024 at 08:51 AM.

  6. #6
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: An array using vlookup/match or index/match or other pulling from multiple sheets.

    How many types of Item (XXX) are there? Five, as in your sample - being Item (1) to Item (5) - or what?
    Glenn




    None of us get paid for helping you... we do this for fun. So DON'T FORGET to say "Thank You" to all who have freely given some of their time to help YOU

  7. #7
    Forum Moderator Glenn Kennedy's Avatar
    Join Date
    07-08-2012
    Location
    Digital Nomad... occasionally based in Ireland.
    MS-Off Ver
    O365 (PC) V 2406
    Posts
    44,662

    Re: An array using vlookup/match or index/match or other pulling from multiple sheets.

    You can use INDIRECT, if there are lots of them, but your sheet WILL slow down.

  8. #8
    Registered User
    Join Date
    01-02-2024
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365 Apps for Enterprise (beta channel)
    Posts
    23
    Quote Originally Posted by Glenn Kennedy View Post
    You can use INDIRECT, if there are lots of them, but your sheet WILL slow down.
    Five for the demo, could be 50+
    Speed isn't a big issue

  9. #9
    Registered User
    Join Date
    01-02-2024
    Location
    Sydney, Australia
    MS-Off Ver
    Microsoft 365 Apps for Enterprise (beta channel)
    Posts
    23

    Re: An array using vlookup/match or index/match or other pulling from multiple sheets.

    I finally got it by bringing in an array of the sheet names as a column and using this formula:
    Formula: copy to clipboard
    Please Login or Register  to view this content.


    And thanks to Glen who got me in the right direction. However, I had to mess with it to get it working.

    Is there a way to mark the thread as solved? (figured that one)

    Mike
    Last edited by MikeInAu; 01-06-2024 at 08:59 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. [SOLVED] Index Match large lookup array not pulling data
    By Jer91 in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 01-31-2021, 03:59 PM
  2. [SOLVED] VLookup - Match- INDEX with multiple values across sheets
    By tylops in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 06-07-2018, 05:14 PM
  3. Replies: 1
    Last Post: 06-18-2015, 08:45 AM
  4. Vlookup or Index Match to check value across multiple sheets
    By HB07 in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-03-2015, 03:57 AM
  5. [SOLVED] Vlookup/Index/Match on multiple sheets data
    By yabi0823 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-30-2014, 03:47 PM
  6. Replies: 5
    Last Post: 04-28-2014, 05:41 PM
  7. Replies: 3
    Last Post: 08-07-2011, 06:52 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