Python Forum
Loop through folder of Excel Files and extract single column
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Loop through folder of Excel Files and extract single column
#1
Hi,

I have a folder contain multiple folders. Each of these subfolders contains an excel file. Is it possible to loop through each subfolder and create a single CSV from the data from a particular column from each xls file. If possible can I ensure that only excel filenames starting with a certain text are read?

Many thanks for any advice.
Reply


Messages In This Thread
Loop through folder of Excel Files and extract single column - by fioranosnake - Oct-28-2019, 12:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [SOLVED] Loop through directories and files one level down? Winfried 3 246 Apr-28-2024, 02:31 PM
Last Post: Gribouillis
  Loop through all files in a directory? Winfried 10 483 Apr-23-2024, 07:38 PM
Last Post: FortuneCoins
  Is it possible to extract 1 or 2 bits of data from MS project files? cubangt 8 1,102 Feb-16-2024, 12:02 AM
Last Post: deanhystad
  File loop curiously skipping files - FIXED mbk34 10 886 Feb-10-2024, 07:08 AM
Last Post: buran
  Copy Paste excel files based on the first letters of the file name Viento 2 476 Feb-07-2024, 12:24 PM
Last Post: Viento
  Compare folder A and subfolder B and display files that are in folder A but not in su Melcu54 3 598 Jan-05-2024, 05:16 PM
Last Post: Pedroski55
  Rename files in a folder named using windows explorer hitoxman 3 780 Aug-02-2023, 04:08 PM
Last Post: deanhystad
  Rename all files in a folder hitoxman 9 1,546 Jun-30-2023, 12:19 AM
Last Post: Pedroski55
Question Need help for a python script to extract information from a list of files lephunghien 6 1,131 Jun-12-2023, 05:40 PM
Last Post: snippsat
  How to loop through all excel files and sheets in folder jadelola 1 4,557 Dec-01-2022, 06:12 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020