Formula help required

Relaxation_Study

New Member
Joined
Aug 27, 2021
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hi,

I am a teacher and I have been given a list of students who's grades I need to have a closer look at in excel. I have a curated list of students in one column and the raw listing of the students in the next column with the associated grades after that. I want to remove all the students from the raw list and their test scores if they are not in the curated list. Is there a forumula to remove all the students in the raw listing and their associated grades using the curated list? It would save me a lot of time as there are a lot of students.

Thanks

Help required.xlsx
ABCDEFG
1Curated list of studentsRaw list of studentsEnglish test scoresMaths test scoresScience test scores
2111009790
322929095I need to remove the students from the raw list who are not in the curated list as well as remove their test scores
443708076The student names have been replaced with numerical representation
554325636
665597567
776414663
897808078
9108675756
1013963235
111410464653
121511767553
131612432468
141713451374
151914366835
162115807596
172416855773
182517897569
1918542356
2019365823
2120445175
2221769587
2322352432
2423868668
2524313512
2625263215
Sheet1
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
How about
Fluff.xlsm
ABCDEFGHIJ
1Curated list of studentsRaw list of studentsEnglish test scoresMaths test scoresScience test scoresStudentsEnglish test scoresMaths test scoresScience test scores
211100979011009790
3229290952929095
4437080764325636
5543256365597567
6655975676414663
7764146637808078
897808078963235
910867575610464653
101396323513451374
11141046465314366835
12151176755315807596
13161243246816855773
14171345137417897569
15191436683519365823
16211580759621769587
17241685577324313512
18251789756925263215
1918542356
2019365823
2120445175
2221769587
2322352432
2423868668
2524313512
2625263215
Master
Cell Formulas
RangeFormula
G2:J18G2=FILTER(B2:E26,COUNTIFS(A2:A100,B2:B26))
Dynamic array formulas.
 
Upvote 1
Solution
How about:

Code:
=FILTER(B2:E26,ISNUMBER(MATCH(B2:B26,$A$2:$A$18,0)))
 
Upvote 0
How about
Fluff.xlsm
ABCDEFGHIJ
1Curated list of studentsRaw list of studentsEnglish test scoresMaths test scoresScience test scoresStudentsEnglish test scoresMaths test scoresScience test scores
211100979011009790
3229290952929095
4437080764325636
5543256365597567
6655975676414663
7764146637808078
897808078963235
910867575610464653
101396323513451374
11141046465314366835
12151176755315807596
13161243246816855773
14171345137417897569
15191436683519365823
16211580759621769587
17241685577324313512
18251789756925263215
1918542356
2019365823
2120445175
2221769587
2322352432
2423868668
2524313512
2625263215
Master
Cell Formulas
RangeFormula
G2:J18G2=FILTER(B2:E26,COUNTIFS(A2:A100,B2:B26))
Dynamic array formulas.
Thank you so much, this works! This will save me a lot of time!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,223,888
Messages
6,175,207
Members
452,618
Latest member
Tam84

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