Dynamic Grade Look Up using 2 criteria

aeweed

New Member
Joined
Jan 31, 2024
Messages
3
Office Version
  1. 365
Platform
  1. Windows
Hi! Hoping for some help - i have a spreadsheet that has different scoring depending - is there a formula that i can use to have it tell me the score based on the subject and the month and be able to let it change dynamically (ie. change the month and grade look up would change) I know how to do the simple grade look up but stumped on this! Attached is a sample of the charts - hopefully i used the XL2BB add on correctly

Thank you so much!



sample_grade report.xlsx
ABCDEFGHIJ
1MonthClassScore RangeGrade
21Math0F
31Math64.7CMonth 3
41Math65.1B
51Math65.8AScienceMathEnglish
62Math0FScore6267.167.2
72Math64.8CGrade???
82Math65.1B
92Math65.9A
103Math0F
113Math64.4C
123Math64.8B
133Math65.5A
141English0F
151English66.7C
161English66.9B
171English67.4A
182English0F
192English66.8C
202English67B
212English67.6A
223English0F
233English66.8C
243English67B
253English67.6A
261Science0F
271Science67.9C
281Science68.2B
291Science68.9A
302Science0F
312Science68.4C
322Science68.7B
332Science69.4A
343Science0F
353Science68.5C
363Science68.8B
373Science69.5A
Sheet1
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Does this look like what you expect?

Book1
ABCDEFGHIJ
1MonthClassScore RangeGrade
21Math0F
31Math64.7CMonth 1
41Math65.1B
51Math65.8AScienceMathEnglish
62Math0FScore6267.167.2
72Math64.8CGradeFAB
82Math65.1B
92Math65.9A
103Math0F
113Math64.4C
123Math64.8B
133Math65.5A
141English0F
151English66.7C
161English66.9B
171English67.4A
182English0F
192English66.8C
202English67B
212English67.6A
223English0F
233English66.8C
243English67B
253English67.6A
261Science0F
271Science67.9C
281Science68.2B
291Science68.9A
302Science0F
312Science68.4C
322Science68.7B
332Science69.4A
343Science0F
353Science68.5C
363Science68.8B
373Science69.5A
Sheet1
Cell Formulas
RangeFormula
H7:J7H7=XLOOKUP(H6,FILTER($C$2:$C$37,($A$2:$A$37=$I$3)*($B$2:$B$37=H$5)),FILTER($D$2:$D$37,($A$2:$A$37=$I$3)*($B$2:$B$37=H$5)),"",-1)
 
Upvote 1
Solution
Hi & welcome to MrExcel.
Another option
Fluff.xlsm
ABCDEFGHIJ
1MonthClassScore RangeGrade
21Math0F
31Math64.7CMonth 3
41Math65.1B
51Math65.8AScienceMathEnglish
62Math0FScore6267.167.2
72Math64.8CGradeFAB
82Math65.1B
92Math65.9A
103Math0F
113Math64.4C
123Math64.8B
133Math65.5A
141English0F
151English66.7C
161English66.9B
171English67.4A
182English0F
192English66.8C
202English67B
212English67.6A
223English0F
233English66.8C
243English67B
253English67.6A
261Science0F
271Science67.9C
281Science68.2B
291Science68.9A
302Science0F
312Science68.4C
322Science68.7B
332Science69.4A
343Science0F
353Science68.5C
363Science68.8B
373Science69.5A
Data
Cell Formulas
RangeFormula
H7:J7H7=TAKE(FILTER($D$2:$D$100,($A$2:$A$100=$I$3)*($B$2:$B$100=H5)*($C$2:$C$100<=H6)),-1)
 
Upvote 1
Does this look like what you expect?

Book1
ABCDEFGHIJ
1MonthClassScore RangeGrade
21Math0F
31Math64.7CMonth 1
41Math65.1B
51Math65.8AScienceMathEnglish
62Math0FScore6267.167.2
72Math64.8CGradeFAB
82Math65.1B
92Math65.9A
103Math0F
113Math64.4C
123Math64.8B
133Math65.5A
141English0F
151English66.7C
161English66.9B
171English67.4A
182English0F
192English66.8C
202English67B
212English67.6A
223English0F
233English66.8C
243English67B
253English67.6A
261Science0F
271Science67.9C
281Science68.2B
291Science68.9A
302Science0F
312Science68.4C
322Science68.7B
332Science69.4A
343Science0F
353Science68.5C
363Science68.8B
373Science69.5A
Sheet1
Cell Formulas
RangeFormula
H7:J7H7=XLOOKUP(H6,FILTER($C$2:$C$37,($A$2:$A$37=$I$3)*($B$2:$B$37=H$5)),FILTER($D$2:$D$37,($A$2:$A$37=$I$3)*($B$2:$B$37=H$5)),"",-1)
this worked great! thanks for your help and quick reply! i need to freshen up on xlookup! I always do index match match!
 
Upvote 0
Hi & welcome to MrExcel.
Another option
Fluff.xlsm
ABCDEFGHIJ
1MonthClassScore RangeGrade
21Math0F
31Math64.7CMonth 3
41Math65.1B
51Math65.8AScienceMathEnglish
62Math0FScore6267.167.2
72Math64.8CGradeFAB
82Math65.1B
92Math65.9A
103Math0F
113Math64.4C
123Math64.8B
133Math65.5A
141English0F
151English66.7C
161English66.9B
171English67.4A
182English0F
192English66.8C
202English67B
212English67.6A
223English0F
233English66.8C
243English67B
253English67.6A
261Science0F
271Science67.9C
281Science68.2B
291Science68.9A
302Science0F
312Science68.4C
322Science68.7B
332Science69.4A
343Science0F
353Science68.5C
363Science68.8B
373Science69.5A
Data
Cell Formulas
RangeFormula
H7:J7H7=TAKE(FILTER($D$2:$D$100,($A$2:$A$100=$I$3)*($B$2:$B$100=H5)*($C$2:$C$100<=H6)),-1)
Thank you!
 
Upvote 0
Glad we could help & thanks for the feedback.
 
Upvote 0

Forum statistics

Threads
1,215,097
Messages
6,123,076
Members
449,094
Latest member
mystic19

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