How do I get a text-based report Into Excel?

Turn text into tables.

If a program can output a delimited text file (I'll get to what that means in a minute), Excel can turn it into a reasonable table.

Of course, the text has to be properly prepared. Every line in that file will become a spreadsheet row--that's pretty easy. But you need markers, called delimiters, to tell Excel where to break the rows into columns. Excel can recognize tabs, spaces, semicolons, or commas as delimiters, and you can assign other characters, as well. You can also add quotation marks to better clarify the separation.

Excel can also use fixed-width fields to separate your rows into columns. In this option, for instance, you might say that the first column starts with the first character in the line, the second with the eighth character, and so on.

To load your file into Excel, select Open from the File menu or click the Open icon, select Text Files as your 'Files of type', and select your file. Excel will open the Text Import Wizard to walk you through the delimiter options.

Join the newsletter!

Or

Sign up to gain exclusive access to email subscriptions, event invitations, competitions, giveaways, and much more.

Membership is free, and your security and privacy remain protected. View our privacy policy before signing up.

Error: Please check your email address.
Keep up with the latest tech news, reviews and previews by subscribing to the Good Gear Guide newsletter.

Lincoln Spector

PC World (US online)
Show Comments

Most Popular Reviews

Latest Articles

Resources

PCW Evaluation Team

Tom Pope

Dynabook Portégé X30L-G

Ultimately this laptop has achieved everything I would hope for in a laptop for work, while fitting that into a form factor and weight that is remarkable.

Tom Sellers

MSI P65

This smart laptop was enjoyable to use and great to work on – creating content was super simple.

Lolita Wang

MSI GT76

It really doesn’t get more “gaming laptop” than this.

Jack Jeffries

MSI GS75

As the Maserati or BMW of laptops, it would fit perfectly in the hands of a professional needing firepower under the hood, sophistication and class on the surface, and gaming prowess (sports mode if you will) in between.

Taylor Carr

MSI PS63

The MSI PS63 is an amazing laptop and I would definitely consider buying one in the future.

Christopher Low

Brother RJ-4230B

This small mobile printer is exactly what I need for invoicing and other jobs such as sending fellow tradesman details or step-by-step instructions that I can easily print off from my phone or the Web.

Featured Content

Product Launch Showcase

Don’t have an account? Sign up here

Don't have an account? Sign up now

Forgot password?