We use cookies to give you the best online experience. By using our website you agree to our use of cookies in accordance with our cookie policy.

croom new

Preferred Blog

Preferred has been serving the Tinley Park area since 1991, providing IT Support such as technical helpdesk support, computer support, and consulting to small and medium-sized businesses.

Tip of the Week: How to Use Excel to Quickly Generate Folders

Tip of the Week: How to Use Excel to Quickly Generate Folders

As a manager, some of the administrative work can be, if not the worst part of the job, easily the least engaging. For instance, having to create all the different folders for the employees under your purview, projects, and other organizational needs. Fortunately, Microsoft Excel offers a relatively quick and easy way of doing just this.

Let’s walk through the process.

How to Use Excel to Mass Generate Folders (and Even Subfolders!)

Rather than manually going through, creating and naming each folder you need, Microsoft Excel enables you to automate the process somewhat. The trick revolves around you creating a Windows Batch file—a type of file that contains a script that executes predetermined commands in a specified order.

The process is as follows:

  • In one column, list all of the names your different folders need to have, whether that’s a month and year, each of your team members’ names, or your different departments.

  • To turn this into a batch file, you first need to add a second column that formats this data in a very specific way. Let’s assume that you wanted a folder for each month of 2024, for instance.

    • Your first column will be your list of months, January, February and so on, with cell A1 formatted as “2024 - January” to help avoid Excel auto-formatting your data.

    • Your second column will have the batch command filled out. This will require the following formula to be used:

      ="MD "&""""&A1&""""

      Dragging the bottom corner of your top cell down will populate the rest of your list, referencing the proper cell in the first column to complete the formula.
  • This will give you a list formatted as MD “2024 - January” and so on. Copy and paste this data into your Notepad application.

  • Once your batch commands are copied over, save your Notepad file as a .bat file format wherever you want your folders to be saved. Clicking this file will generate the folders where the .bat file was located.

Hopefully, this will help you to more quickly create the folders you require for your assorted needs.

Sports Franchises All-In on Data Analytics
It’s Time to Plan Next Year’s Budget, so Consider ...
 

Comments

No comments made yet. Be the first to submit a comment
Guest
Already Registered? Login Here
Guest
Wednesday, May 29 2024

Captcha Image

Sign Up for Our Newsletter

  • First Name *
  • Last Name *

      Mobile? Grab this Article!

      Qr Code

      Blog Archive

      Latest Blog Entry

      Hackers are always on the lookout for personally identifiable information, or PII, as it’s an immensely lucrative resource. You’ll need to protect it if you want your business to continue operating safely and efficiently. Let’s go over what PII entails and what kinds of data...

      Latest News

      Best Places to Work - 5 YEARS STRONG!!

      Preferred is once again, honored for being a Best Place to Work for the fifth straight year!  Our team is what makes Preferred a Best Place to Work.  

      Daily Herald Suburban Business 2024 Best Places to Work Honorees The Daily Herald Suburban Business has announced the names of 51 companies, in 5 categories of competition, that are honored as the 2024 Best Places to Work in Illinois. This statewide survey and awards program was designed to identify, recognize and honor the best places of employment in Illinois, benefiting the state's economy, its workforce and businesses.