Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 16
Default Q: How to import data "vertically"

Newbie here...

Is there a way to import data from a MS Query "vertically" instead of
"horizontally?" I'm trying to import student names, month names, and
monthly grade average (for each student, sorted by name, and month).

Ex:

Name, Month, Avg
John Doe, Jan, 90
John Doe, Feb, 88
....
Jane Doe, 2003, Jan, 85
Jane Doe, 2003, Feb, 98

BUT, instead of having each student's monthly average placed in a row,
have it placed in columns with only one row/student. So:

Name, Jan (avg), Feb (avg), Mar (avg)...Dec (avg).
John Doe, 90,88...
Jane Doe, 85, 98...

I understand there will be problems with thus, such as some months
having no data. I'll hopefully figure that out later. I just need to
know if I need to design the query to do this somehow, or if I need to
write a macro to reorganize the data after the import.

Any help is appreciated!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Q: How to import data "vertically"

One option could be - copy the range and chose paste
special and check transpose.
-----Original Message-----
Newbie here...

Is there a way to import data from a MS Query "vertically"

instead of
"horizontally?" I'm trying to import student names, month

names, and
monthly grade average (for each student, sorted by name,

and month).

Ex:

Name, Month, Avg
John Doe, Jan, 90
John Doe, Feb, 88
....
Jane Doe, 2003, Jan, 85
Jane Doe, 2003, Feb, 98

BUT, instead of having each student's monthly average

placed in a row,
have it placed in columns with only one row/student. So:

Name, Jan (avg), Feb (avg), Mar (avg)...Dec (avg).
John Doe, 90,88...
Jane Doe, 85, 98...

I understand there will be problems with thus, such as

some months
having no data. I'll hopefully figure that out later. I

just need to
know if I need to design the query to do this somehow, or

if I need to
write a macro to reorganize the data after the import.

Any help is appreciated!
.

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
How do you name "range" of data to import/export? GOH Excel Discussion (Misc queries) 2 September 19th 09 04:33 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
How to change Import Data source folder "permanently"? [email protected] Excel Discussion (Misc queries) 1 September 3rd 07 06:21 PM
"Import" data from old version into New? Ray Excel Discussion (Misc queries) 1 January 31st 07 08:57 PM
Import HTML data into Excel - data in "1-1" format translates to J PaulT Excel Discussion (Misc queries) 2 December 6th 06 06:28 AM


All times are GMT +1. The time now is 02:30 AM.

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"