Extract a list of names and averages from a table but observing certain attributes.

edge37

Board Regular
Joined
Sep 1, 2016
Messages
87
Office Version
  1. 2021
Platform
  1. Windows
Hi, I'm trying to extract or filter, from the included table, a list of students from A2:A7 that have an average of >=91, from K2:K7, but only if the student's notes (from B2:J7) are >=80, meaning, If the student has an average of 92, but one of his HW grades is 75, then she will not be in the list. I want to put that list in the table from M2:N7, Names in M column and their averages in N column.

Can you help me, please?

Thanks
Book1
ABCDEFGHIJKLMN
1NAMEHW1HW2HW3HW4HW5HW6HW7HW8HW9AVERAGEOUTSTANDING PERFORMANCE
2Camila Alessandra Diaz Mayes1001006381921009710010092.56
3Ericka Sofia Castellanos Pineda76859570787988939584.33
4Eva Patricia Rodríguez Escoto9883100100728010010010092.56
5Hanna Valeria Mejía Pagoada871006682891009910010091.44
6Julia Valeria Barahona Hernández1001009110010010010010010099.00
7Lia Alessandra Chavez Valenzuela1007990829795100938591.22
Sheet1
Cell Formulas
RangeFormula
K2:K7K2=AVERAGE(B2:J2)
 

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
Excel Formula:
=LET(a,B2:J7,c,COLUMNS(a),f,FILTER(A2:K7,(K2:K7>=91)*(MMULT(--(a>=80),SEQUENCE(c,,,0))=c)),INDEX(f,SEQUENCE(ROWS(f)),{1,11}))
 
Upvote 0
Solution
Another option

Excel Formula:
=FILTER(A2:A7,((B2:B7>=81)*(C2:C7>=81)*(D2:D7>=81)*(E2:E7>=81)*(F2:F7>=81)*(G2:G7>=81)*(H2:H7>=81)*(I2:I7>=81)*(J2:J7>=81))*(K2:K7>=91),"Not Found")
 
Upvote 0
How about
Excel Formula:
=LET(a,B2:J7,c,COLUMNS(a),f,FILTER(A2:K7,(K2:K7>=91)*(MMULT(--(a>=80),SEQUENCE(c,,,0))=c)),INDEX(f,SEQUENCE(ROWS(f)),{1,11}))
Excuse mr Fluff, how would the formula change if the student should still have an average of >=91 but have HW grades BETWEEN 81 and 90? Thanks again
 
Upvote 0
Another option

Excel Formula:
=FILTER(A2:A7,((B2:B7>=81)*(C2:C7>=81)*(D2:D7>=81)*(E2:E7>=81)*(F2:F7>=81)*(G2:G7>=81)*(H2:H7>=81)*(I2:I7>=81)*(J2:J7>=81))*(K2:K7>=91),"Not Found")
Thank you Sufiyan97, I tried your option, it gives me the names but the averages do not show.
 
Upvote 0
how would the formula change if the student should still have an average of >=91 but have HW grades BETWEEN 81 and 90?
That makes no sense. If the grades are between 81 & 90 then the average cannot be >= 91
 
Upvote 0
@Fluff
My bad, sorry, here I go again:
In your previous formula I changed that students must have a minimum of 91 (instead of >=80 in the formula) in their grades, now I need another formula but this time the average should still be 91 but, in any of their grades, a note of 81 to 90 could be tolerated to be in the list. This new list must not include those already in the first list (with grades >=91. The first formula is for an OUTSTANDING performance list and this second one that I need is for a DISTINGUISHED performance list.
Thank you for your time
 
Upvote 0
How about
Excel Formula:
=LET(a,B2:J7,c,COLUMNS(a),f,FILTER(A2:K7,(K2:K7>=91)*(MMULT(--(a>=81),SEQUENCE(c,,,0))=c)*(MMULT(--(a>=91),SEQUENCE(c,,,0))<>c)),INDEX(f,SEQUENCE(ROWS(f)),{1,11}))
 
Upvote 0

Forum statistics

Threads
1,223,886
Messages
6,175,189
Members
452,616
Latest member
intern444

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