Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more

Build the index with Excel’s Power Query folder connector, load the returned file metadata into a table, and refresh that query whenever the folder changes. Generate each clickable link from the refreshed Folder Path and Name columns rather than typing permanent paths. This keeps additions, renames, moves within the scanned tree, and deletions reflected after a successful refresh.

The setup differs by storage location and Excel host: desktop Excel can open local and UNC paths, while Excel for the web requires web URLs. A folder root that itself moves must be changed in the query before refresh can work.

What an up-to-date Excel file index actually does

A Power Query folder inventory reads the files that exist under a selected folder and returns one row per file with properties such as name, path, extension, file type and modified date. Microsoft documents that the Folder connector includes the selected folder’s subfolders. Microsoft’s Folder connector documentation explains how to load the listing instead of importing every file’s contents.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The worksheet is therefore a refreshed snapshot, not a live filesystem monitor. A file added, renamed, moved or deleted after the last refresh does not change the table immediately. Refreshing reruns the folder query and replaces the old metadata with what the source currently returns. A link assembled from old path values can remain stale until that refresh succeeds.

#1 Best Overall
Elebase USB to USB C Adapter for iPhone 18 Pro Max,USBC Car Charger Adapter | 4Pack Type C Female to A Male Cable Converter for Apple Duo 17 16 15 14 Plus,iWatch Watch 12 11 10,iPad 9 8 Air,Airpods 5 4
  • Read Before You Buy — No Video Output: These adapters support charging and USB 2.0 data transfer, but cannot transmit video signals. Except for standard USB webcams (which use USB data only), they are not compatible with HDMI/DisplayPort cables, video-capable USB-C hubs, or docking stations with video output.
  • Convert USB-A Ports to USB-C: Designed to connect USB-C earphones, cables, flash drives, card readers, and other USB-C accessories to standard USB-A ports. Plug-and-play with no drivers or software required.
  • Aluminum Alloy Housing: Built with a sturdy aluminum alloy shell that aids in heat dissipation and protects against daily wear and scratches. Designed to maintain a stable and secure connection.
  • Compact & Travel-Friendly: The ultra-compact design allows the adapter to stay plugged into your device without blocking adjacent ports or adding bulk, reducing wear and tear on your original USB ports.
  • 12-Month Warranty: Backed by a 12-month manufacturer warranty for peace of mind. Designed to meet strict quality control standards for reliable everyday performance.

For a catalog, choose the connector’s Transform Data route and load the file listing itself. Do not use Combine unless the purpose is to extract and consolidate data from the files. Combining invokes content transforms and imposes format and structure requirements that a metadata-only index does not need.

Choose the right storage and Excel platform

Situation Recommended source Link target Important constraint
Files on one Windows computer Folder connector Local path, such as a drive path The computer running refresh must be able to read the folder.
Files on a file server or mapped share Folder connector UNC path or another accessible network path Each person or refresh host needs network access and valid credentials.
Files in a SharePoint document library SharePoint Folder connector SharePoint file URL Users need read access to the site, library and every folder leading to the file.
Workbook opened in a browser A source supported by the web deployment Web URL only for HYPERLINK A local Windows path is not a portable browser link.

Power Query is available across Excel for Windows, Mac and the web, but connector and refresh behavior can vary by host, account, deployment and storage location. Microsoft’s feature overview describes those differences in About Power Query in Excel. Confirm the connector and refresh options in the environment that will own the workbook.

Build a local or network file index

1. Connect to the folder

  1. Open the workbook in desktop Excel.
  2. Select Data > Get Data > From File > From Folder.
  3. Browse to the folder that should define the index. Use a stable local path or a UNC path for a network share, and select Open.
  4. When Excel shows the preview, choose Transform Data, not Combine. The Power Query Editor will display the file listing.

The query’s folder input must be an absolute path. The underlying Folder.Files function returns one row per file in the specified folder and its subfolders, along with file properties and a content link. Its documented behavior is described at Folder.Files.

What’s actually slowing this PC down?

Pick the symptom - the matching free tool is one click away.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

2. Limit the inventory to the files you intend to track

Folder queries include subfolders, so an apparently narrow selection can produce a broad inventory. In Power Query, filter the columns before loading:

  • Extension: keep only types such as .xlsx, .docx or .pdf.
  • Folder Path: retain one subfolder or a defined branch when the root contains unrelated material.
  • Name: exclude temporary files, lock files and known system artifacts.
  • Date modified: use a date condition when the index is intentionally limited to recent files.

Keep the metadata columns that answer your search questions. A practical minimum is Name, Folder Path, Extension, Date modified and Type. You can remove the binary Content column for a lighter metadata-only result, provided no later step needs to open file contents.

3. Load the result as a worksheet table

  1. In Power Query Editor, select Home > Close & Load To….
  2. Choose Table and load it to a new or existing worksheet.
  3. Give the resulting Excel table a meaningful name, such as FileIndex, so formulas and documentation remain understandable.

The rows now represent the state of the source at the time of the last refresh. Sort and filter the table in Excel, or add formulas and pivot tables that use the metadata columns.

Rank #2
Sale
Anker USB-C Hub, 5-in-1 USB Hub for Laptops, 4K HDMI Multiport Adapter | USB C Dongle with 90W Max Power Delivery, 3×5Gbps USB A Data Ports, for MacBook, Dell, and More (Charger Not Included)
  • 5-in-1 USB-C Hub: Experience comprehensive connectivity featuring a Power Delivery input, two USB-A 2.0 ports, a USB-A 3.0 port, and an HDMI port. (Note: The USB-C power delivery input port is only for connecting an external wall charger to power your laptop and cannot power peripheral devices.)
  • 90W Pass-Through Charging: Achieve optimal charging with 90W pass-through power to your laptop, supported by a total input of 100W, with the hub reserving 10W for operational efficiency. (Note: Wall charger not included.)
  • Quick Data Transfers: Accelerate your productivity with rapid data transfers using a high-speed 5Gbps USB 3.0 port and two 480Mbps USB 2.0 ports.
  • 4K HDMI Display: Enhance your visual experience with a hub capable of delivering 4K resolution at 30Hz in both mirror and extend modes. Please note that this hub is compatible with MacBook (macOS 12 and newer), Windows 10 and 11, ChromeOS, and laptops equipped with DP Alt Mode and Power Delivery. Note: This device is not compatible with Linux.
  • What You Get: Anker USB-C Hub (5-in-1, 4K HDMI), welcome guide, 18-month warranty, and our friendly customer service.

4. Add a clickable link column

Insert a calculated column in the loaded table and use the current path and name fields:

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

=HYPERLINK([@[Folder Path]]&[@Name],[@Name])

Adjust the structured references if Power Query assigned different column names. The path separator is normally already present in the connector’s Folder Path value; if your output does not include it, concatenate the required separator for that environment. Test several rows, including a file in a subfolder and a filename containing spaces.

Microsoft describes HYPERLINK as creating a shortcut to another workbook location or opening a document on a network server, intranet or the Internet. Its destination can be a local disk or UNC path in Excel for Windows. See the HYPERLINK function documentation.

5. Check the result before distributing it

  • Click a link to a file in the root folder.
  • Click a link to a file in a returned subfolder.
  • Rename or move a test file inside the scanned tree, refresh, and confirm that its row now contains the new name and path.
  • Delete a test file, refresh, and confirm that its row disappears.
  • Close and reopen the workbook to make sure the table and links remain usable.

Refresh the index after files change

Manual refresh

For an on-demand update, select Data > Refresh All. Refresh All is useful when the workbook contains more than one query or external connection; it updates the complete set rather than only the selected table. Microsoft’s procedure for refreshing external connections is at Refresh an external data connection in Excel.

Refresh when the workbook opens

  1. Select Data > Queries & Connections.
  2. In the Connections area, right-click the relevant connection and choose Properties.
  3. On the Usage tab, enable the option to refresh data when opening the file.
  4. Save the workbook and test the behavior after closing it completely.

The exact dialog wording can vary by Excel version. Opening refresh still requires the source to be reachable and credentials to be valid.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Timed refresh while the workbook is open

In the same connection properties, enable a refresh interval and enter the interval supported by your Excel deployment. This is not a background file-watching service: it runs only while the workbook and its host support the connection refresh. A sleeping computer, closed workbook, unavailable network share or expired sign-in can prevent the update.

Rank #3
Sale
Anker USB C Hub, 7in1 Multi-Port USB Adapter, 4K@60Hz USBC to HDMI Splitter | 85W Max PD, 2 USB 3.0 & 1 USBC Data Ports, SD/TF Card Reader, for Laptops/Mac and Other Type C Devices (Charger Not Included)
  • Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
  • Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
  • Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
  • Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
  • What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.

Understand what a refresh can and cannot repair

  • File moved within the queried tree: refresh captures the new folder path and the formula rebuilds the link from the new values.
  • File renamed within the queried tree: refresh returns the new name.
  • File deleted: the row is removed on a successful refresh.
  • Root folder moved or renamed: change the query’s source path first; the old root cannot be scanned.
  • Refresh has not run or failed: the table and its hyperlinks still contain the previous snapshot and can point to old locations.

This behavior follows from the path-based source and from HYPERLINK using the text supplied to it. A hyperlink does not search for a moved file by itself.

Use SharePoint when the files live in Microsoft 365

Connect to the SharePoint location

  1. In desktop Excel, select Data > Get Data > From Online Services > From SharePoint Folder (the exact menu grouping can vary by version).
  2. Enter the SharePoint site URL, not a link copied to an individual file.
  3. Authenticate with an account that can read the site and document library.
  4. Choose Transform Data and filter Folder Path to the document-library branch you want.
  5. Keep the file metadata, load it as a table, and create links from the SharePoint URL fields returned by the query or from a verified web URL column.

Microsoft’s SharePoint Folder connector documentation states that read access is needed for the site, document library and each folder leading to the requested file. A user who can open the workbook but cannot read the source will not be able to refresh it successfully.

The connector documentation also warns that filenames containing #, % or $ can cause authentication errors in some circumstances. If a refresh fails only for certain files, check those names and the account’s permissions before rebuilding the query.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Use browser-safe hyperlinks

Excel for the web accepts web addresses as HYPERLINK destinations. Use the file’s SharePoint URL, rather than a path such as C:Users… or a mapped drive letter. A browser user may have no access to the local path, even when the desktop author does.

Desktop Excel versus Excel for the web

Desktop Excel on Windows can open local and UNC file links when the operating system and the user’s permissions can reach the destination. Excel for the web is different: Microsoft specifies that the HYPERLINK function is valid for web addresses only. Consequently, a local path is not a portable link for a workbook shared through a browser. Use a SharePoint or other reachable HTTPS URL for browser access, and ensure the recipient is authorized to open it.

Power Query support and refresh controls also depend on the Excel host. A workbook authored on desktop may contain a connector or refresh option that is unavailable, restricted or differently implemented in another host. Test the complete workflow—including refresh and link clicks—in the platform your readers will use.

Rank #4
Sale
UGREEN USB to USB C Adapter Combo 4-Pack, 10Gbps USB C Converter Space Gray | Data transfer & Fast charging for MacBook, iPhone 17/16/15, iPad, Samsung Galaxy, Apple Watch
  • Dual Converters, Infinite Potential:Includes 2× USB C male to USB A female adapters and 2× USB A male to USB C female adapters. Perfect for a wide range of uses—tablets with Bluetooth keyboards, expand USB ports on macbook, and more. Two different converters for all your daily needs
  • Next-Level 10Gbps & 3A Charging: No more slow 480Mbps, this usb to usb c adapter has a transfer speed of up to 10Gbps, allowing you to do more transferring in less time. This usb adapter fits both USB A and USB C charger, supporting up to 3A fast charging
  • Upgraded Exquisite Craftsmanship: With an aluminum alloy housing and metal connector, the usbc to usb adapter is extremely durable and sturdy. Rigorously tested to withstand more than 10,000 times of plugging and unplugging, ensuring long-lasting performance
  • Broad Compatible: The usb c to usb adapter widely supports all USB C/ USB A devices like laptops, tablets, cellphones, car chargers, and phone chargers. Such as compatible with MacBook Pro/Air 2023/2022, Thunderbolt 4/3 Devices,Apple MagSafe Watch 9/8/7/SE/Ultra, iPad Pro 2022/2021, Samsung Galaxy S23/S20/S10, and iPhone 17/16/15 Pro. Plug and play
  • Please Note: To reach 10Gbps speed, keep the cable under 3.3 ft. For USB A Male to USB C adapters, try flipping the USB C connector. USB C Male to USB A adapters support bidirectional 10Gbps transfer within 3.3 ft

Metadata index or content consolidation?

Goal Use What the query returns Key consideration
Searchable list of files Folder connector with Transform Data One row per file and its metadata Files do not need matching internal schemas.
Merge rows or sheets from many files Folder import with Combine Transformed content plus file metadata Files should have compatible formats and structures; filter unwanted files first.

Microsoft’s folder-import guidance recommends a dedicated folder for combine operations and filtering out extraneous files before combining. For an index, the same filtering discipline prevents noise, but identical content schemas are not a requirement because you are not consolidating the binaries. See Import data from a folder with multiple files.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Fix the most common failures

The index contains files from unexpected subfolders

The connector scans subfolders by design. Filter Folder Path in Power Query to the intended branch, or select a narrower root. Do not delete rows manually in the worksheet: the next refresh will recreate them.

Links show old locations after a move

Run Data > Refresh All and verify that the query completed without an error. If the root folder changed, edit the source step in Power Query and replace the old absolute path. Recheck the generated link after the table updates.

A link returns an error when clicked

Excel reports an error when the destination does not exist or cannot be navigated. Confirm the path text, separator, spelling and the user’s permissions. For a browser workbook, replace local or UNC text with a valid web URL. Also check whether the file was moved again after the last refresh.

Refresh fails for colleagues

Every refresh host needs access to the source and valid credentials. A mapped drive letter that exists on one computer may not exist on another; a UNC path or SharePoint source can be easier to standardize, but permissions still apply. Microsoft advises ensuring colleagues have the required data-source permissions in its external-connection refresh guidance.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The query tries to combine files unexpectedly

Recreate or edit the query so that it loads the listing itself. Choose Transform Data at the connector preview, remove the content-combining steps, and retain metadata columns. Combine operations are appropriate only when you need a consistent transformation of file contents.

Best Value
Anker USB C Hub, 5-in-1 USBC to HDMI Splitter with 4K Display | 85W Max PD, 1 Powered USB-C 5Gbps & 2 Powered USB-A 3.0 5Gbps Data Ports, for MacBook Pro, MacBook Air, Dell and More (Black)
  • 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
  • Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
  • Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
  • HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
  • What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.

Timed or opening refresh does nothing

Check that the workbook is actually opening in a host that supports the connection, the source computer or network is reachable, credentials have not expired, and the connection property is enabled. Automatic refresh is conditional; it is not guaranteed when the workbook is closed or the source is offline.

Design the index for reliable maintenance

Keep paths stable

Choose a root folder whose location is unlikely to change. If a departmental share is reorganized, plan to update the source path as part of the move rather than expecting the old query to discover the new root.

Separate source, query and presentation

Use the Power Query output as the authoritative table, then place user-facing formulas, filters, pivots or dashboards on separate sheets. This reduces the chance that someone overwrites query-managed cells and makes a refresh easier to diagnose.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Document the refresh owner

Record which computer, account or service identity is expected to refresh the workbook, especially for network and SharePoint sources. A workbook shared with a team can otherwise appear broken simply because the person opening it lacks the source permission.

Keep links derived, not typed

Build the hyperlink from the current path and name columns every time. Avoid maintaining a second manually edited path list: it will diverge from the query after the first rename or move.

Use a small test set after structural changes

  • One file in the root.
  • One file in a nested folder.
  • One recently renamed file.
  • One deleted file that should disappear.
  • One file opened by a typical end user, not only by the author.

Testing these cases after changing the root, connector, credentials or link formula catches most deployment errors before the index is relied on.

Version and deployment considerations

Microsoft’s refresh documentation covers Excel for Microsoft 365 and Excel 2016, 2019, 2021 and 2024, while connector availability and automatic-refresh behavior can differ by platform and update channel. Check the version, account type, operating system and storage location of the intended users rather than assuming that a feature visible in one Excel installation is identical everywhere.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

When a team needs a browser-first index, design around web URLs and a web-accessible source from the start. When the requirement is a local or network catalog used on managed Windows computers, desktop Excel with the Folder connector and UNC or local links is generally the more direct arrangement.

A practical operating routine

  1. Store files under a documented root that the refresh owner can access.
  2. Refresh the query after additions, renames, moves or deletions; use Refresh All when the workbook has multiple connections.
  3. Check the query status and scan for an error before trusting the hyperlinks.
  4. Filter the table by path, extension or modified date to locate the expected change.
  5. Open representative links from the same Excel host your users will use.
  6. When the root location changes, update the source path and test credentials before sharing the workbook again.

With this arrangement, Excel remains a searchable directory whose rows and links are regenerated from the current folder state. The refresh operation—not the hyperlink formula alone—is what keeps the index aligned with files that move or change.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.