Teacher - Gradebook - Assign a value to a String

MathDreamer

New Member
Joined
Nov 6, 2011
Messages
21
I am trying to do something that I have no idea how to approach with Excel.

I want to assign a value to a text string.
Actually, i want to assign a formula to a text string, which will be used in another formula. If a student hands in a homework late, then I want to type an "L" as his grade instead of a number grade.
The "L" would calculate 50% of his possible points for the assignment. The possible points would be listed on the top of the column.
I could just do the calculation in my head and type the earned score. But, the "L" would let me see which students have a pattern that I need to take action on. For example, if I need to call a parent.
I would have other codes also.
"dns" - 0% - Did not submit HW
"nc" - 0% - Work is unacceptable
"inc" - 50% - Incomplete.

Any suggestions?
 
The Excel 2003 version for the first student (Cell L3) is
Code:
=(SUMPRODUCT(IF(ISERROR(LOOKUP(B3:K3,$N$2:$N$5,$O$2:$O$5)),0,LOOKUP(B3:K3,$N$2:$N$5,$O$2:$O$5)),$B$2:$K$2)+SUM(B3:K3))/SUMIF(B3:K3,"<>",$B$2:$K$3)

This is also an array formula.

Mike
 
Upvote 0

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
In Excel 2003, you can choose Tools, Formula Auditing, Evaluate Formula to step through the formula and see how the pieces of the formula are resolved.
 
Upvote 0

Forum statistics

Threads
1,215,579
Messages
6,125,646
Members
449,245
Latest member
PatrickL

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