+ Reply to Thread
Results 1 to 18 of 18

VBA: Dynamic List from same column on multiple sheets

Hybrid View

  1. #1
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,222

    Re: Dynamic List from same column on multiple sheets

    For Excel Insider try

    =LET(z,VSTACK(Vehicles1:End!B2:B100000),SORT(UNIQUE(FILTER(z,z<>""))))

    or Power Query
    Change file path in red

    let
        Source = Excel.Workbook(File.Contents("D:\ForRickv2.xlsx"),null, true),
        Filtered = Table.SelectRows(Source, each Text.StartsWith([Name], "Vehicles")),
        RemoveHeader = Table.AddColumn(Filtered, "RemoveH", each Table.Skip([Data],1)),
        Combine = Table.Combine(RemoveHeader[RemoveH]),
        #"Removed Duplicates" = Table.Distinct(Combine),
        #"Sorted Rows" = Table.Sort(#"Removed Duplicates",{{"Column1", Order.Ascending}})
    in
        #"Sorted Rows"
    Watch this for Power Query
    https://youtu.be/KfuYxBDBkAo
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    09-09-2021
    Location
    London, Ontario, Canada
    MS-Off Ver
    Office 365
    Posts
    56

    Re: Dynamic List from same column on multiple sheets

    WOW .. amazing again.
    How do you come up with these things. Thank you so much.

    Are you able to explain what this formula is doing?
    1) the formula in the workbook looks a little different.
    yours - =LET(z,VSTACK(Vehicles1:End!B2:B100000),SORT(UNIQUE(FILTER(z,z<>""))))
    WrkBk - =LET(z,_xlfn.VSTACK(Vehicles1:End!B2:B100000),SORT(UNIQUE(FILTER(z,z<>""))))

    2) it works as is but then I try to edit it or use it elsewhere it breaks it, just copy. Name error now.

    Thank you for the Help.

    Gray
    Last edited by GrayWolf; 03-30-2022 at 11:49 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. Create a dynamic list from multiple sheets
    By shbiskup in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-28-2022, 04:04 AM
  2. [SOLVED] Consolidating names from multiple sheets to create one dynamic list
    By Rick Rick in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 05-10-2021, 12:51 PM
  3. Replies: 2
    Last Post: 09-17-2020, 05:17 AM
  4. [SOLVED] Dynamic ordered list, pulling from multiple sheets
    By ostie in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 09-21-2019, 04:11 PM
  5. Replies: 1
    Last Post: 01-31-2017, 06:32 PM
  6. How to combine dynamic ranges from multiple sheets into one list?
    By mst3k in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-07-2015, 03:25 AM
  7. Multiple Column Dynamic Dependent List
    By wsublet86 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 06-18-2014, 03:25 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