LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 12
Default ?IF function for preventing a cell being filled by formula

I am trying to figure out a function (I assume it will be an IF funtion) that
will prevent a cell being filled by an "F" based on the formula that affects
that cell. It is for a gradebook and the cell is automatically filled by an F
based on the function i use.

There are two or three sections to each criteria and this needs to be
assigned an overall grade and then a final grade. As an example in the
worksheet the cells T5:V5 contain the following formula
=IF(ISNA(VLOOKUP(D5,{"HD+",4.8;"HD",4.7;"HD-",4.3;"D+",4.15;"D",3.95;"D-",3.75;"C+",3.6;"C",3.45;"C-",3.3;"P+",3.15;"P",2.85;"P-",2.5;"F+",2.15;"F",1.5;"F",0},
2,FALSE)),"",VLOOKUP(D5,{"HD+",4.8;"HD",4.7;"HD-",4.3;"D+",4.15;"D",3.95;"D-",3.75;"C+",3.6;"C",3.45;"C-",3.3;"P+",3.15;"P",2.85;"P-",2.5;"F+",2.15;"F",1.5;"F",0},
2,FALSE)) which assigns a numeric grade for the letter that the user enters
in the cell D5:F5.

The criteria grade for the criterion in question is located in cell W5 and
is determined as a letter based on the following formula: =IF('DO NOT
DELETE'!C384.99,"HD",IF('DO NOT DELETE'!C374.99,"D",IF('DO NOT
DELETE'!C364.99,"C",IF('DO NOT DELETE'!C349.99,"P",IF('DO NOT
DELETE'!C342.99,"PC",IF('DO NOT DELETE'!C3=0%,"F"))))))

The problem is when i copy the formula down to accomodate the number of
students, Excell automatically inserts a "F" grade in the cells, not only
does it look untidy, it increases the risk of a fail being assigned in error
to a student. Is there a formula that will stop Ecel doing this?

Thanks

Brian

 
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
CELL Function: cell reference by formula Alex C Excel Worksheet Functions 1 June 19th 06 03:30 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
IF Function to test formula in a cell Fred Holmes Excel Worksheet Functions 5 November 18th 05 12:04 AM
revealing the contents of a formula srinivasan Excel Worksheet Functions 10 July 5th 05 04:39 PM
Formula checking multiple worksheets sonic-the-mouse Excel Worksheet Functions 2 June 5th 05 07:48 PM


All times are GMT +1. The time now is 01:39 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"