Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / October 2004

Tip: Looking for answers? Try searching our database.

Sorting Columns into rows

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
mickey790 - 30 Oct 2004 06:03 GMT
note: cross post

I have no prior experience in writing macros in MS excel. I am willing
to learn.

My situation is:

I have a table with the following columns: patronID and patron#. On a
few ocassions, a few patronIDs have more than one patron#. In that case,
the extra patron # is in an adjoining column in that corresponding row.

here's my howto??

To format the table into only 2 columns- patronID and patron#.
In case of more than one patron # for a particular ID, then, those extra
patron #s are moved from say, column3, into column 2 and the patron ID
value in column 1 is repeated.

Thanks in advance for any help.

Regards,
mickey790
Debra Dalgleish - 30 Oct 2004 13:14 GMT
To reorganize the data, you can use the "unpivot' technique described by
John Walkenbach:

   http://j-walk.com/ss/excel/usertips/tip068.htm

Then, sort by name, and delete the blank rows at the end of the list.

> note: cross post
>
[quoted text clipped - 22 lines]
> Excel Templates, Training, Add-ins & Software! Free Support at
> http://www.ozgrid.com/forum/ **

Signature

Debra Dalgleish
Excel FAQ, Tips & Book List
http://www.contextures.com/tiptech.html

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.