Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Rows to columns with multiple sets

Hi -

I have a file of data that I need to flip rows and columns, however, there
are multiple sets of data so the "paste specialtranspose" doesn't meet my
need. So, for example, my current data file looks something like this:

A B
City Ozark
State MO
ZIP 65721
City Kansas City
State MO
ZIP 64118
City Suffolk
State VA
ZIP 23434


And I need to transform it into something like this:

City State ZIP
Ozark MO 65721
Kansas City MO 64118
Suffolk VA 23434

Is there a systematic way to accomplish this in Excel???
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
~L ~L is offline
external usenet poster
 
Posts: 177
Default Rows to columns with multiple sets

Somewhat unsophisticated, but:
Sort by column A
Filter by State
Cut those results
Unfilter
Paste the results to the right of your data
Scroll to the zip codes, then cut them and past them to the right of your
data again.
Delete columns A, C, and E (which should contain only the words City, State,
and Zip respectively), then insert a row above your data with the appropriate
headers.


"chrisL" wrote:

Hi -

I have a file of data that I need to flip rows and columns, however, there
are multiple sets of data so the "paste specialtranspose" doesn't meet my
need. So, for example, my current data file looks something like this:

A B
City Ozark
State MO
ZIP 65721
City Kansas City
State MO
ZIP 64118
City Suffolk
State VA
ZIP 23434


And I need to transform it into something like this:

City State ZIP
Ozark MO 65721
Kansas City MO 64118
Suffolk VA 23434

Is there a systematic way to accomplish this in Excel???

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Shading multiple rows or, alternately, multiple columns only Lawrence Miller Excel Discussion (Misc queries) 5 December 1st 08 12:05 PM
Excel Convert Multiple Rows into Multiple Columns [email protected] Excel Worksheet Functions 1 June 28th 07 05:20 AM
Multiple sets of columns into one set of columns no blanks CathyH Excel Discussion (Misc queries) 0 May 22nd 07 09:11 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 2 July 31st 06 09:45 PM
Combine multiple columns into two long columns, Repeating rows in first column [email protected] Excel Discussion (Misc queries) 0 July 31st 06 05:07 PM


All times are GMT +1. The time now is 08:52 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"