(Msg. 1) Posted: Wed Jul 02, 2008 11:18 am
Post subject: Create macro to convert rows attributes to column headers and vv Add to elertz Archived from groups: microsoft>public>frontpage>client (more info?)
Hi,
I would like to build a macro to convert a table from rows to columns. The
initial spreadsheet is set up so that each row represent one piece of
information for the same ID. For each ID there are 5 rows
A B C
ID1 Name Smith
ID1 Address 22 Smith rd.
ID1 Date of Birth 1987/12/07
ID1 Country of Birth Canada
ID1 Nationality Canadian
ID2 Name Brown
ID2 Address xxBrown st.
ID2 Date of Birth 1965/01/12
ID2 Country of Birth USA
ID2 Nationality Canadian
The new worksheet should display the information by ID while the attributes
listed in column B should be Used as Column Headers (i.e. Titles)
ID Name Address Date of Birth Country of Birth
Nationality
ID1 Smith XX Smith rd 1987/12/07 Canada
Canadian
ID2 Brown XX Brown rd 1965/01/12 USA
Canadian
(Msg. 2) Posted: Wed Jul 02, 2008 11:26 am
Post subject: Re: Create macro to convert rows attributes to column headers and vv Add to elertz [Login to view extended thread Info.] Archived from groups: per prev. post (more info?)
Should post this question in an Excel newsgroup, this one is for FrontPage
--
~~~~~~~~~~~~~~~~~~
Rob Giordano
Microsoft MVP Expression
"T.Vidak" <T.Vidak.TakeThisOut@discussions.microsoft.com> wrote in message
news:195AD5DD-E5A1-46F1-947C-18A75253B519@microsoft.com...
> Hi,
> I would like to build a macro to convert a table from rows to columns. The
> initial spreadsheet is set up so that each row represent one piece of
> information for the same ID. For each ID there are 5 rows
>
> A B C
> ID1 Name Smith
> ID1 Address 22 Smith rd.
> ID1 Date of Birth 1987/12/07
> ID1 Country of Birth Canada
> ID1 Nationality Canadian
> ID2 Name Brown
> ID2 Address xxBrown st.
> ID2 Date of Birth 1965/01/12
> ID2 Country of Birth USA
> ID2 Nationality Canadian
>
> The new worksheet should display the information by ID while the
> attributes
> listed in column B should be Used as Column Headers (i.e. Titles)
> ID Name Address Date of Birth Country of Birth
> Nationality
> ID1 Smith XX Smith rd 1987/12/07 Canada
> Canadian
> ID2 Brown XX Brown rd 1965/01/12 USA
> Canadian
>
>
> Thanks for your help
>
All times are: Eastern Time (US & Canada) (change)
Page 1 of 1
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum