40 - Get Files Names from a Folder Based on User Selection in Excel using Power Query

TrumpExcel April 2, 2020
Video Thumbnail
TrumpExcel Logo

TrumpExcel

@trumpexcel

About

I am Sumit Bansal (Excel MVP), and I will help you learn Excel the best way. I create weekly Excel tips videos about basic and advanced Excel, VBA, Charting, Power Query, Dashboards, and more Here, you'll find hundreds of free Excel tips & tutorials, and it is a great place to learn Excel. These Excel tips videos will help you skyrocket your productivity and make you a rockstar at work. You can find more Excel tips at https://trumpexcel.com Youtube Channel Link: https://www.youtube.com/c/trumpexcel

Video Description

In this video, I will show you how you can get all the file names based on what folder you have selected. Suppose you have multiple folders that keep getting updated with new files, you can create a drop-down with the names of the folders and use the technique shown in this video to get all the file names when you make a selection from the drop-down ✅ Power Query Course Download files: https://trumpexcel.com/course-download-files/ ☕ If you find my Excel videos useful and would like to support me, you can buy me a coffee - https://www.buymeacoffee.com/SumitB Free Excel Course (Basic to Advanced) - https://trumpexcel.com/learn-excel/ Best Excel Books: https://trumpexcel.com/best-excel-books/ Subscribe to get awesome Excel Tips every week: https://www.youtube.com/user/trumpexcel?sub_confirmation=1 ------------------------------------------------------------------------------ 0:00 Introduction 0:50 Create Drop-down in Excel 2:59 Fetch Data from Folder in Power Query 4:23 Change Privacy Settings to Fix Firewall Error 6:30 Alternative Solution: Modifying M Code 10:26 Make it Dynamic with VBA ------------------------------------------------------------------------------ #Excel #ExcelTips #ExcelTutorial

You May Also Like

Essential Camtasia Gear

AI-recommended products based on this video

Loading...
EooCoo Compatible with MacBook Air 13 inch Case 2021 2020 2019 2018 Release A2337 M1 A2179 A1932 with Retina Display, Air 13.3 inch Case + TPU Keyboard Skin+ Screen Protector,Crystal Clear Global Recycled Standard

EooCoo Compatible with MacBook Air 13 inch Case 2021 2020 2019 2018 Release A2337 M1 A2179 A1932 with Retina Display, Air 13.3 inch Case + TPU Keyboard Skin+ Screen Protector,Crystal Clear Global Recycled Standard

(5,837)
$14.99
FREE delivery Sat, Jun 14 on your first order
200+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

(35,879)
$49.99$44.99
FREE delivery Mon, Jan 26
1K+ bought in past month
Loading...
HOMIEE HOMIEE 15.6-Inch Laptop Backpack, High-Capacity Backpack for Men Women USB Charging Port Travel/Business/College Backpack, Blue

HOMIEE HOMIEE 15.6-Inch Laptop Backpack, High-Capacity Backpack for Men Women USB Charging Port Travel/Business/College Backpack, Blue

(1,409)
$37.99
PrimeFREE delivery Sat, Jun 14
Loading...
RAOYI 5Pack 64GB USB Flash Drive USB Stick USB 2.0 Memory Stick Slide Retractable Thumb Drive 64G USB Drive USB Key for Data Storage (Black Red Blue Green Purple)

RAOYI 5Pack 64GB USB Flash Drive USB Stick USB 2.0 Memory Stick Slide Retractable Thumb Drive 64G USB Drive USB Key for Data Storage (Black Red Blue Green Purple)

(4,402)
$26.09
Prime
1K+ bought in past month
Loading...
Asus ZenScreen 16” Portable USB Monitor (MB169CK) - Full HD, IPS, Dual USB-C, Eye Care, Flicker Free, Blue Light Filter, Anti-Glare Surface, 360° Kickstand, 3 yr Warranty

Asus ZenScreen 16” Portable USB Monitor (MB169CK) - Full HD, IPS, Dual USB-C, Eye Care, Flicker Free, Blue Light Filter, Anti-Glare Surface, 360° Kickstand, 3 yr Warranty

(111)
$129.99$100.27
FREE delivery Jan 9 - Feb 4
100+ bought in past month
Loading...
RAOYI 5pcs 32GB USB 3.0 Flash Drive Memory Stick Fold Storage Thumb Stick Pen Drive U Disk Swivel Design (5 Mixed Colors: Black Red Blue Green Purple)

RAOYI 5pcs 32GB USB 3.0 Flash Drive Memory Stick Fold Storage Thumb Stick Pen Drive U Disk Swivel Design (5 Mixed Colors: Black Red Blue Green Purple)

(1,667)
$31.99
FREE delivery Sat, Jun 14 on your first order
Loading...
OYIB Wireless Earbuds, 2025 Mini Bluetooth 5.3 Headphones HD Stereo Audio, ENC Noise Cancelling Mic Wireless Earphones 25H Playtime, IPX7 Waterproof, Touch Control in Ear Wireless Headphone White

OYIB Wireless Earbuds, 2025 Mini Bluetooth 5.3 Headphones HD Stereo Audio, ENC Noise Cancelling Mic Wireless Earphones 25H Playtime, IPX7 Waterproof, Touch Control in Ear Wireless Headphone White

(1,932)
$19.79
FREE delivery Sat, Jun 14 on your first order
100+ bought in past month
Loading...
Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

(316)
$29.99
Prime
1K+ bought in past month
Loading...
Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 6 HD Mics, 2025 Active Noise Cancelling Earbuds, 36H Playtime and LED Display in Ear Earphones, IP7 Waterproof Wireless Headphones, Black

Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 6 HD Mics, 2025 Active Noise Cancelling Earbuds, 36H Playtime and LED Display in Ear Earphones, IP7 Waterproof Wireless Headphones, Black

(159)
$29.99$26.99
FREE delivery Fri, Jan 2 on your first order
Loading...
Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

Wireless Earbuds, Bluetooth 5.4 Headphones HiFi Stereo with 4 HD Mic, 50H Playtime Bluetooth Earbuds with LED Display, IPX7 Waterproof Wireless Earphones, Touch Control Ear Buds,USB-C White

(228)
$26.99
Prime
Loading...
Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

Logitech M185 Wireless Mouse, 2.4GHz with USB Mini Receiver, 12-Month Battery Life, 1000 DPI Optical Tracking, Ambidextrous, Compatible with PC, Mac, Laptop - Black

(48,912)
$15.99$12.79
FREE delivery Wed, Feb 18 on your first order
1K+ bought in past month
Loading...
Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

Logitech G305 Lightspeed Wireless Gaming Mouse, Hero 12K Sensor, 12,000 DPI, Lightweight, 6 Programmable Buttons, 250h Battery Life, On-Board Memory, PC/Mac - Black

(35,879)
$49.99$44.99
FREE delivery Mon, Jan 26
1K+ bought in past month
Loading...
Logitech K400 Plus Wireless Touch TV Keyboard With Easy Media Control and Built-in Touchpad, HTPC Keyboard for PC-connected TV, Windows, Android, Chrome OS, Laptop, Tablet - Black
Best Seller

Logitech K400 Plus Wireless Touch TV Keyboard With Easy Media Control and Built-in Touchpad, HTPC Keyboard for PC-connected TV, Windows, Android, Chrome OS, Laptop, Tablet - Black

(38,516)
$39.98$35.98
FREE delivery Thu, Sep 4
500+ bought in past month
Loading...
Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black
Best Seller

Logitech G203 Wired Gaming Mouse, 8,000 DPI, Rainbow Optical Effect LIGHTSYNC RGB, 6 Programmable Buttons, On-Board Memory, Screen Mapping, PC/Mac Computer and Laptop Compatible - Black

(17,871)
$27.98$22.38
FREE delivery Tue, Oct 14 on your first order
500+ bought in past month
Loading...
NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

NEEWER a6700 L Plate Compatible with Sony Alpha 6700, Quick Switch Aluminum Extendable Side Plate & Anti Twist Baseplate Compatible with Arca Swiss QR System DJI RS 2 RSC 2 RS 3 Pro Gimbals, CA048

(24)
$25.99
FREE delivery Thu, Jun 19 on your first order
Loading...
Memory Card Reader, BENFEI 4in1 USB 3.0 and USB-C to SD Micro SD MS CF Card Reader Adapter, 4 Cards Simultaneously Read and Write, Compatible with iPhone 15 Series, MacBook Pro/Air 2023, and More
Best Seller

Memory Card Reader, BENFEI 4in1 USB 3.0 and USB-C to SD Micro SD MS CF Card Reader Adapter, 4 Cards Simultaneously Read and Write, Compatible with iPhone 15 Series, MacBook Pro/Air 2023, and More

(28,840)
$13.99
FREE delivery Sun, Aug 10 on your first order
5K+ bought in past month
Loading...
Laptop Docking Station, Docking Station 3 Monitors with 2*DP+HDMI, 130W PD Charger, 4*USB 3.0, Audio, Gigabit Ethernet, TF/SD for Lenovo HP Dell, Windows,Mac

Laptop Docking Station, Docking Station 3 Monitors with 2*DP+HDMI, 130W PD Charger, 4*USB 3.0, Audio, Gigabit Ethernet, TF/SD for Lenovo HP Dell, Windows,Mac

(55)
$127.99
FREE delivery Sun, Aug 24
Loading...
USB C Docking Station Dual Monitor for Dell Hp,15-in-1 Laptop Docking Station 3 Monitors USB C Hub with Dual 4K HDMI,8K DP,Button,PD Charging,Ethernet,6 USB A&C,SD/TF, Audio USB-C Multiport Adapter

USB C Docking Station Dual Monitor for Dell Hp,15-in-1 Laptop Docking Station 3 Monitors USB C Hub with Dual 4K HDMI,8K DP,Button,PD Charging,Ethernet,6 USB A&C,SD/TF, Audio USB-C Multiport Adapter

(1,359)
$67.98
FREE delivery Sun, Aug 24
100+ bought in past month
Loading...
USB C Triple Display Docking Station with Laptop Charging,USB C Docking Station 3 Monitors with 150W DC Power,2 HDMI,USB A/C,10Gbps,Ethernet,MicroSD&SD,Audio&Mic for Dell/Lenovo/HP/Windows/Mac

USB C Triple Display Docking Station with Laptop Charging,USB C Docking Station 3 Monitors with 150W DC Power,2 HDMI,USB A/C,10Gbps,Ethernet,MicroSD&SD,Audio&Mic for Dell/Lenovo/HP/Windows/Mac

(2,284)
$169.99
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
Laptop Charger for Lenovo Thinkpad 135W AC Adapter Slim Tip, Thinkpad X1 Extreme P1 P15v T15p Gen 1 2 3 4 ideapad L340 3-15 ADL135NDC3A, Lenovo Thinkpad Pro Docking Station with 135W Power Adapter

Laptop Charger for Lenovo Thinkpad 135W AC Adapter Slim Tip, Thinkpad X1 Extreme P1 P15v T15p Gen 1 2 3 4 ideapad L340 3-15 ADL135NDC3A, Lenovo Thinkpad Pro Docking Station with 135W Power Adapter

(74)
$48.96$42.67
Prime$7.36 delivery Fri, Jun 20
Loading...
SanDisk 4TB Extreme Portable SSD - Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware - External Solid State Drive - SDSSDE61-4T00-G25

SanDisk 4TB Extreme Portable SSD - Up to 1050MB/s, USB-C, USB 3.2 Gen 2, IP65 Water and Dust Resistance, Updated Firmware - External Solid State Drive - SDSSDE61-4T00-G25

(77,138)
$379.99
FREE delivery Tue, Jun 17
100+ bought in past month
Loading...
BEXEVUE Standing Desk, Height Adjustable Electric Desk, 48 x 24 Inches Adjustable Desk, Small Computer Home Office Desk with Splice Board (White)
Best Seller

BEXEVUE Standing Desk, Height Adjustable Electric Desk, 48 x 24 Inches Adjustable Desk, Small Computer Home Office Desk with Splice Board (White)

(268)
$149.99
FREE delivery Thu, Jun 26
200+ bought in past month
Loading...
Zewwen Laptop Stand for Desk, Ergonomic Adjustable Foldable Computer Stand with Heat-Vent, Aluminium Alloy Laptop Riser Compatible with MacBook Air, Pro, Dell XPS, Samsung, 10”-16"

Zewwen Laptop Stand for Desk, Ergonomic Adjustable Foldable Computer Stand with Heat-Vent, Aluminium Alloy Laptop Riser Compatible with MacBook Air, Pro, Dell XPS, Samsung, 10”-16"

(1,679)
$28.49
FREE delivery Sat, Jun 14 on your first order
500+ bought in past month
Loading...
Zewwen Laptop Stand for Desk, Ergonomic Adjustable Foldable Computer Stand with Heat-Vent, Aluminium Alloy Laptop Riser Compatible with MacBook Air, Pro, Dell XPS, Samsung, 10”-16"

Zewwen Laptop Stand for Desk, Ergonomic Adjustable Foldable Computer Stand with Heat-Vent, Aluminium Alloy Laptop Riser Compatible with MacBook Air, Pro, Dell XPS, Samsung, 10”-16"

(1,679)
$29.44
FREE delivery Sat, Jun 14 on your first order
300+ bought in past month
Loading...
ErGear Electric Standing Desk, 48‘’x24‘’ Height Adjustable Sit Stand up Desk, 4 Memory Computer Home Office Desk Standing Table with Splice Board (Black)

ErGear Electric Standing Desk, 48‘’x24‘’ Height Adjustable Sit Stand up Desk, 4 Memory Computer Home Office Desk Standing Table with Splice Board (Black)

(6,292)
$142.49
200+ bought in past month