Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Copy Down With Multiple Values

I have a spreadsheet that I didn't design with around 4000+ Rows containing
student information.

The !@#$ who designed the sheet organized it like below:
Columns
A: Teacher Name (Only in the Row above the student names)
B: Student Name (In every row except the first)
C: Student ID (In every row except the first)
D: Period (Only in the Row above the student names)

I want the name of the teacher and the period in every row, like an access
table, so I can sort the stupid thing.

I don't want to have to re-type 4000 rows of data.

Is there a way that I can use the copy down function or a macro to recognize
when there is a new teacher/period and change the information as it copies
down the worksheet? Any help is much appreciated.

--
Thanks As Always
Rip
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,268
Default Copy Down With Multiple Values

Stupid setup I agree, however it can be easily fixed if I understand you
correctly. Try this on a small sample first

Select the range in column A, press F5, select special and blanks, click OK
Type an equal sign and press up arrow once, press Ctrl + Enter
Select the whole range in column A again, press Ctrl + C, do editpaste
special and select values

Voila!


--
Regards,

Peo Sjoblom



"Ripper" wrote in message
...
I have a spreadsheet that I didn't design with around 4000+ Rows containing
student information.

The !@#$ who designed the sheet organized it like below:
Columns
A: Teacher Name (Only in the Row above the student names)
B: Student Name (In every row except the first)
C: Student ID (In every row except the first)
D: Period (Only in the Row above the student names)

I want the name of the teacher and the period in every row, like an access
table, so I can sort the stupid thing.

I don't want to have to re-type 4000 rows of data.

Is there a way that I can use the copy down function or a macro to
recognize
when there is a new teacher/period and change the information as it copies
down the worksheet? Any help is much appreciated.

--
Thanks As Always
Rip



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 4,624
Default Copy Down With Multiple Values

One way:

Select the column with Teacher names. Choose Edit/Goto/Special/Blanks.
In the first blank cell, say, A3, type

=A2

where the reference should be to the cell above the active cell. Hit
Ctrl-Enter to insert the formula in each blank cell.

Select the column again. Copy it. Choose Edit/Paste Special, selecting
the Values radio button.



In article ,
Ripper wrote:

I have a spreadsheet that I didn't design with around 4000+ Rows containing
student information.

The !@#$ who designed the sheet organized it like below:
Columns
A: Teacher Name (Only in the Row above the student names)
B: Student Name (In every row except the first)
C: Student ID (In every row except the first)
D: Period (Only in the Row above the student names)

I want the name of the teacher and the period in every row, like an access
table, so I can sort the stupid thing.

I don't want to have to re-type 4000 rows of data.

Is there a way that I can use the copy down function or a macro to recognize
when there is a new teacher/period and change the information as it copies
down the worksheet? Any help is much appreciated.

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 25
Default Copy Down With Multiple Values

YOU GUYS ROCK! That saved me HOURS of work.

--
Thanks As Always
Rip


"Ripper" wrote:

I have a spreadsheet that I didn't design with around 4000+ Rows containing
student information.

The !@#$ who designed the sheet organized it like below:
Columns
A: Teacher Name (Only in the Row above the student names)
B: Student Name (In every row except the first)
C: Student ID (In every row except the first)
D: Period (Only in the Row above the student names)

I want the name of the teacher and the period in every row, like an access
table, so I can sort the stupid thing.

I don't want to have to re-type 4000 rows of data.

Is there a way that I can use the copy down function or a macro to recognize
when there is a new teacher/period and change the information as it copies
down the worksheet? Any help is much appreciated.

--
Thanks As Always
Rip

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
Adding numerical values based on multiple values in another column Kazmaniac Excel Worksheet Functions 6 April 4th 07 08:53 PM
copy between worksheets does not copy formulae just values Chris@1000 Oaks Excel Discussion (Misc queries) 0 March 19th 06 11:44 AM
Copy/Paste how to avoid the copy of formula cells w/o calc values Dennis Excel Discussion (Misc queries) 10 March 2nd 06 10:47 PM
Search multiple values to return single values JANA Excel Worksheet Functions 8 October 27th 05 04:26 PM
Can you copy multiple tabs from formulas to values w/o paste spec? Brent Excel Worksheet Functions 2 October 27th 05 12:47 AM


All times are GMT +1. The time now is 03:54 AM.

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

About Us

"It's about Microsoft Excel"