How do I do this efficiently?

ERC2

New Member
Joined
Sep 12, 2011
Messages
33
I have a large spreadsheet with students' test scores since 2006. I wanted to find out how 10th graders who were in our system in our system since 4th grade did. Thus I want I subset of our group of 2012 10th grade students. The spreadsheet has student info and then grade, the date the test was given and then the score by column. Thus a student will have multiple rows of data (one for each year in the system). The way I solved the problem was through a pivot and then filtering. What I did was get each year lined up as a column and the students as rows in the pivot. I cut and pasted the original pivot data and filtered everyone out who did not have a score in each year. I can't imagine there is not some better way to do this.

I really do not want to change the file format b/c this is the way we get the data from the state and I am dealing with a very large spreadsheet. Maybe that's the reason to change it though?
Thanks in advance!
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
So I am correct in saying that you want to compare all the students' scores that were in the 4th grade against the scores they have attained in the 10th grage? Are all the years on the same worksheet?
 
Upvote 0
So I am correct in saying that you want to compare all the students' scores that were in the 4th grade against the scores they have attained in the 10th grage? Are all the years on the same worksheet?

Skybluekid, THanks for the reply. I want to get all those grade 10 students who were in our school system in grades 4-10 (as opposed to students who had only been in for a few years.). That is not exactly the same as the group who took the grade 4 test and the grade 10 test. Everyone is in one giant spreadsheet. If a student had been in the system since 2011, they would have two rows of data (2011 & 12). If they have been in since grade 4 they would have 2006, 2007, 2008, 2009, 2010, 2011, and 2012 or 7 rows.
 
Upvote 0
Can you send a dummy sample of data? What version are you using?
 
Upvote 0
Excel Workbook
BCDEFGHIJK
2Year StartedResults
3Grade 4Grade 5Grade 6Grade 7Grade 8Grade 9Grade 10
4Student 1200667767464808186
5Student 2200657657877878283
6Student 3200640566063757978
7Student 4200687838486818081
8Student 52007677878697578
9Student 62007757871757578
10Student 7200989918785
11Student 820087678818487
12Student 92010677676
13Student 10200669787673758181
14
155
16Student 186
17Student 283
18Student 378
19Student 481
20Student 1081
21 
Sheet1
 
Upvote 0
Solution
Thank you Skybluekid. I need to study up on arrays. I thought of another more pedestrian way of doing it with Pivots but it is still a lot of steps. Your formulas take time up front (once I figure them out) but then they are done. Nice work & thanks!
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,871
Members
452,363
Latest member
merico17

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top