#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default if command

Remove the double quotes from the cell references.

Excel sees anything in double quotes as text.

For info only.........There are other methods of scoring/grading

With column of scores in A enter this in B1 and double-click to copy down.

=LOOKUP(A1,{0,50,60,70,80},{"E","D","C","B","A"})

Adjust for score ranges or more letter grades like C+, B- etc.

=LOOKUP(A1,{0,31,41,51,61,71,81,91,101},{"E","D"," C-","C","C+","B","B+","A"})

Adjust to suit.


Gord Dibben MS Excel MVP


On Fri, 5 Jan 2007 02:08:50 +0530, afromaniac
wrote:


I am a teacher in a school and due to the large amount of test we do and
the subsequent analysis I was wondering if any on could help me out in
this problem.

All of our tests have different grade boundaries and as such I would
like a easy to use if command. I tried the following but the problem
occurs as it gives me a grade of D17 instead of the grade that the cll
refers to.


=IF(C8C$17,"D17",IF(C8C$18,"D18",IF(C8C$19,"D 19",IF(C$2059,"D20","F"))))

any help would be very grateful


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
Contol toolbox command button eye59 Excel Discussion (Misc queries) 2 January 2nd 07 02:21 PM
Command Buttons msals22 Excel Discussion (Misc queries) 1 June 22nd 06 01:33 AM
How to: Pass Command Line Parameter ??? Webtest Excel Worksheet Functions 0 October 24th 05 05:27 PM
Help requested for an Excel Toolbar command Deanl5 Excel Discussion (Misc queries) 2 January 17th 05 01:01 AM
command button in excel will move when print. [email protected] Excel Discussion (Misc queries) 1 December 29th 04 03:53 PM


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

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"