PC Review


Reply
Thread Tools Rate Thread

Changing two way tables into one way tables

 
 
=?Utf-8?B?U25hcmE=?=
Guest
Posts: n/a
 
      27th Feb 2007
Hello - I need to be able to 'undo' a two way table. The data is in this
format:
Student number English Grade Maths Grade
US456 A B+
US455 A- C+

And I need it to look like this:
US456 English Grade A
US456 Maths Grade B+
US455 English Grade A-
US455 Maths Grade C+

So each grade has a separate row - other than copying and pasting hundreds
of records is there a simple way to do this?
 
Reply With Quote
 
 
 
 
Ignacio Machin \( .NET/ C# MVP \)
Guest
Posts: n/a
 
      27th Feb 2007
=A2&" "&$B$1&" "&B2
where : A2 = "First Student in your table"; $B$1="English Grade" and
B2="English grade for first student and drag this cell untill end then do
the same with $C$1 for theMath Grade
Alejandro
"Snara" <(E-Mail Removed)> wrote in message
news:F224892B-F7F4-4CDB-A19C-(E-Mail Removed)...
> Hello - I need to be able to 'undo' a two way table. The data is in this
> format:
> Student number English Grade Maths Grade
> US456 A B+
> US455 A- C+
>
> And I need it to look like this:
> US456 English Grade A
> US456 Maths Grade B+
> US455 English Grade A-
> US455 Maths Grade C+
>
> So each grade has a separate row - other than copying and pasting hundreds
> of records is there a simple way to do this?



 
Reply With Quote
 
=?Utf-8?B?U25hcmE=?=
Guest
Posts: n/a
 
      27th Feb 2007
Thank you for this, I hadn't thought of doing it that way! The only thing is
I have about 20 columns with different headings and the number of columns
varies on each spreadsheet (some spreadsheets contain up to 400 student
records). This requires that I drag the formulas down the correct number of
cells then change slightly and repeat - is there a way to get excel to do
more of this for me!! Thanks again!


"Ignacio Machin ( .NET/ C# MVP )" wrote:

> =A2&" "&$B$1&" "&B2
> where : A2 = "First Student in your table"; $B$1="English Grade" and
> B2="English grade for first student and drag this cell untill end then do
> the same with $C$1 for theMath Grade
> Alejandro
> "Snara" <(E-Mail Removed)> wrote in message
> news:F224892B-F7F4-4CDB-A19C-(E-Mail Removed)...
> > Hello - I need to be able to 'undo' a two way table. The data is in this
> > format:
> > Student number English Grade Maths Grade
> > US456 A B+
> > US455 A- C+
> >
> > And I need it to look like this:
> > US456 English Grade A
> > US456 Maths Grade B+
> > US455 English Grade A-
> > US455 Maths Grade C+
> >
> > So each grade has a separate row - other than copying and pasting hundreds
> > of records is there a simple way to do this?

>
>
>

 
Reply With Quote
 
Debra Dalgleish
Guest
Posts: n/a
 
      27th Feb 2007
To reorganize the data, you can use the 'unpivot' technique described by
John Walkenbach:

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

Snara wrote:
> Hello - I need to be able to 'undo' a two way table. The data is in this
> format:
> Student number English Grade Maths Grade
> US456 A B+
> US455 A- C+
>
> And I need it to look like this:
> US456 English Grade A
> US456 Maths Grade B+
> US455 English Grade A-
> US455 Maths Grade C+
>
> So each grade has a separate row - other than copying and pasting hundreds
> of records is there a simple way to do this?



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

 
Reply With Quote
 
=?Utf-8?B?U25hcmE=?=
Guest
Posts: n/a
 
      27th Feb 2007
That is BRILLIANT - thanks so much you have saved hours of my life!!!



"Debra Dalgleish" wrote:

> To reorganize the data, you can use the 'unpivot' technique described by
> John Walkenbach:
>
> http://j-walk.com/ss/excel/usertips/tip068.htm
>
> Snara wrote:
> > Hello - I need to be able to 'undo' a two way table. The data is in this
> > format:
> > Student number English Grade Maths Grade
> > US456 A B+
> > US455 A- C+
> >
> > And I need it to look like this:
> > US456 English Grade A
> > US456 Maths Grade B+
> > US455 English Grade A-
> > US455 Maths Grade C+
> >
> > So each grade has a separate row - other than copying and pasting hundreds
> > of records is there a simple way to do this?

>
>
> --
> Debra Dalgleish
> Contextures
> http://www.contextures.com/tiptech.html
>
>

 
Reply With Quote
 
Debra Dalgleish
Guest
Posts: n/a
 
      27th Feb 2007
You're welcome! Thanks for letting me know that it helped.

Snara wrote:
> That is BRILLIANT - thanks so much you have saved hours of my life!!!
>
>
>
> "Debra Dalgleish" wrote:
>
>
>>To reorganize the data, you can use the 'unpivot' technique described by
>>John Walkenbach:
>>
>> http://j-walk.com/ss/excel/usertips/tip068.htm
>>
>>Snara wrote:
>>
>>>Hello - I need to be able to 'undo' a two way table. The data is in this
>>>format:
>>>Student number English Grade Maths Grade
>>>US456 A B+
>>>US455 A- C+
>>>
>>>And I need it to look like this:
>>>US456 English Grade A
>>>US456 Maths Grade B+
>>>US455 English Grade A-
>>>US455 Maths Grade C+
>>>
>>>So each grade has a separate row - other than copying and pasting hundreds
>>>of records is there a simple way to do this?

>>
>>
>>--
>>Debra Dalgleish
>>Contextures
>>http://www.contextures.com/tiptech.html
>>
>>

>



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating archive tables for Access tables joined to Sybase tables =?Utf-8?B?QXJjaGl2ZSBUYWJsZXM=?= Microsoft Access External Data 0 11th Jan 2006 10:31 PM
Changing Tables Very New to Access Microsoft Access Forms 1 22nd May 2005 08:50 PM
VBA code for searching and appending data from linked tables to unlinked tables Pete Straman Straman via AccessMonster.com Microsoft Access External Data 1 17th Feb 2005 07:40 PM
Changing the Tables Name ASPatel Microsoft Access Database Table Design 1 16th Aug 2004 04:09 PM
Changing a tables name with VBA Thomas Olsen Microsoft Access VBA Modules 2 30th Oct 2003 04:25 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:52 AM.