The Database Journal
03/10/2006
Adjusting Autonumber Increments

03/10/2006
Moving Access Data to Microsoft Excel

03/10/2006
Exporting Access Data with TransferSpreadsheet

03/10/2006
Export Access Data with VBA

03/13/2006
Data Layout in Microsoft Excel

03/17/2006
Excel Text to Number Conversion

03/21/2006
Transposing Excel Ranges

03/25/2006
Access VBA Timer Event

03/29/2006
What is MySQL?

04/02/2006
Microsoft Access Parameter Query Tutorial Video

04/06/2006
How does PHP Work?

04/10/2006
Microsoft Access VBA Tools - References

Click here to view all articles.

Database Design
Website Design
Search Engine Marketing
Home
Contact Us
About Us
Database Journal
Newsletters
Database Newsletter

Transposing Excel Ranges

Often, you’ll receive Excel files from other individuals and their sense of data layout isn’t quite along the same lines as yours. More often than not, data is laid out improperly, and a little “tweaking” needs to be done in order to get everything in tiptop shape.

One of the frequent mistakes include the never-ending left to right row of values. Names, numbers, or dates starting in A1 and stretching across this massive sheet all the way to cell HX1 or some such far-away, never-before-heard-of column. Using the Paste Special dialog box, there is an easy and simple way to turn that huge row into a more appropriate column of data. We’ll use a pared down example.

Figure 1

In this example, we have Joe in A1, Sally in B1, and Bob in C1. The objective is to have these values all in column A, instead of stretching across columns.

This is a quick and easy change! First, highlight A1 through C1 and click on Edit, and then Copy. Next, click on cell A2 (since A1 currently has a value, we’ll paste our values starting in cell A2 instead).

Now click on Edit, and then Paste Special. You’ll notice a nifty little checkbox at the bottom of this Paste Special dialog box called, “Transpose” (see Figure 2).

“Transpose” does just that. After clicking OK to get back to your spreadsheet, you’ll have a nice neat column of values: Joe in cell A2, Sally in A3, and Bob in A4. Now you can simply delete row 1 and you’re layout has most definitely changed for the better!

The Transpose feature also works the opposite way (transposing from columns to rows) and works on larger blocks of data (multiple rows and columns). It’s a great, fast way to shape up your data in order to use it more efficiently!

Figure 2

©2010 Blue Moose Technology, LLC

David Badurina, President of Blue Moose Technology, LLC, is a relational database design expert. David's unique ability to easily explain virtually any technical concept has allowed him to work with companies such as AMD, Motorola, the American Heart Association, and countless small businesses. Learn more about database design right now at http://www.bluemoosetech.com.

Article Publishing and Re-Print Guidelines

You can easily link to this article!

If you'd like to link to this article from your own website, copy and paste the following HTML code onto your page:

On your page, the code will appear like this:

Transposing Excel Ranges