Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
JMB
 
Posts: n/a
Default Problem using IF function for a gradebook

Set up a table and use VLOOKUP. For example,

A B
1 0 F
2 60 D
3 70 C
4 80 B
5 90 A
6
7
8
9
10 85 =VLOOKUP(A10,A1:B5,2,TRUE)

will return a B.



Of course, modify your table to include A-, B+, B-, etc


"downrightt" wrote:

I'm a teacher and trying to create a gradebook where it will assign letter
grades based on the numerical score. Because of all the possibilities, (A,
A-, B+, B, B-, C+, C, C-, D+, D, D-, F), I can't do it all in one cell
because it's too many embedded formulas for Excel to handle. I tried
splitting it up into two separate cells, but I can't figure it out.

Here are the formulas I'm using:

=IF(E7=$B$91,"A",IF(E7=$B$92,"A-",IF(E7=$B$93,"B+",IF(E7=$B$94,"B",IF(E7=$B$95, "B-",IF(E7=$B$96,IF(E7=$B$97,"C+",I7)))))))

And then, cell I7 is:
=IF(E7=$B$96,"C+",IF(E7=$B$97,"C",IF(E7=$B$98," C-",IF(E7=$B$99,"D+",IF(E7=$B$100,"D",IF(E7=$B$10 1,"D-",IF(E7=$B$102,"F","ERROR")))))))

Cell E7 is the numerical score I'm trying to convert, and cells B91 to B102
are the grading cutoffs (for example, an A is a 94 or higher), which I would
like to leave as references so that I can change it around later if I want.

Whenever the grade is below a C+, the cell's output is just "FALSE" instead
of it being refered to the second cell's forumla. Help! What am I doing wrong?

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
LOOKUP function problem? DORI Excel Worksheet Functions 0 November 27th 05 11:45 PM
function problem regarding cell range chindo Excel Worksheet Functions 1 November 10th 05 03:06 AM
Lookup function problem (kg) greencecil Excel Worksheet Functions 3 July 1st 05 04:54 PM
Problem with function "Worksheet_Change" konpego Excel Worksheet Functions 0 June 23rd 05 05:46 AM
Problem adding a range using Sumif function. vrk1 Excel Worksheet Functions 2 June 22nd 05 06:05 PM


All times are GMT +1. The time now is 04:06 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"