Can you help me guys with my problem???TY in advance

Iwant2be

New Member
Joined
Jan 18, 2015
Messages
1
Hello guys!
Im just new here. I'm a teacher and i want to make my self comfortable with my job so i use excel to make my class records and grading sheet with ranking of my pupils. my major problem is, i want to program a condition that stating 2 true values i think i might use "and" function nesting in "if" function but i dont know how. these are my datas that i will give to you guys:

for example: The average grade of my pupils are 79, 89, 70, 65, 99, 92, 73 and i want to appear a result of:

Average grade <75= D
Average grade >75 but less than 80= AD
Average grade > 79 but less than 85 = A
Average grade >84 but less than 90= AA
Average grade >89 but less than 95= G
Average grade >95 but less than 100= HG
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number
Welcome to the Forum!

Some of your ranges overlap in the example you gave - but maybe you can adapt this to your needs.

Excel Workbook
ABC
1StudentAvg GradeResult
2Student 175D
3Student 289AA
4Student 370D
5Student 465D
6Student 599HG
7Student 692G
8Student 773D
Sheet1
 
Upvote 0
I can't think of a way with if that will allow a mix and match where you test for AD but cross over A

something like

<75 = D
>=75 <80 = AD
>=80 <85 = A
>=85 <90 = AA
>=90 <95 = G
>=95 <=100 = HG

would do, this also allows for the pupil that achieves 100%

that could also be represented using a LOOKUP formula which would be shorter and neater
 
Upvote 0
Hmm, I can't see any overlap of ranges but I do see that neither 75 or 95 is covered.

Anyway a few options below a vlookup using a table (probably what I'd use), nested if's and FormR's lookup with a few differences in criteria to get closer to the ranges.

Please note that I have changed "Average grade >95 but less than 100= HG" to "Average grade >95 but less than 101= HG" to cover for 100%.

Excel Workbook
ABCDEFG
156DDD0D
284AAA76AD
392GGG80A
497HGHGHG85AA
575DADD90G
679ADADAD96HG
781AAA
885AAAAAA
984AAA
1096HGHGHG
1176ADADAD
1280AAA
1385AAAAAA
1490GGG
1595GHGG
1696HGHGHG
17100HGHGHG
18101#N/A
19
20
21LOW RANGEHIGH RANGE
22Average grade074
23Average grade >75 but less than 80= AD7679
24Average grade > 79 but less than 85 = A8084
25Average grade >84 but less than 90= AA8589
26Average grade >89 but less than 95= G9094
27Average grade >95 but less than 101= HG96100
Sheet1
 
Last edited:
Upvote 0
deleted as Jeanie did put in the 3rd table in my last edit of the previous post just read it wrong :oops:
 
Upvote 0

Forum statistics

Threads
1,214,411
Messages
6,119,360
Members
448,888
Latest member
Arle8907

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