Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I create function to read as:
=IF(D6=40,"Pass",IF(D6=1,"Fail",IF(D6=0,""))) my question, when I enter mark 40 and above it appear 'Pass" - ok when I enter below 40 it appear 'Fail' - ok but if I enter - (still show 'Pass') how to overcome like when I enter 0 - become blank |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way, try:
=IF(ISTEXT(D6),"",IF(D6=40,"Pass",IF(D6=1,"Fail" ,IF(D6=0,"")))) -- Max Singapore http://savefile.com/projects/236895 xdemechanik --- "Param" wrote in message ... I create function to read as: =IF(D6=40,"Pass",IF(D6=1,"Fail",IF(D6=0,""))) my question, when I enter mark 40 and above it appear 'Pass" - ok when I enter below 40 it appear 'Fail' - ok but if I enter - (still show 'Pass') how to overcome like when I enter 0 - become blank |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() I would probably write the formual differently because this is longwinded, but - is text , check it is a number in your logic try =IF(AND(ISNUMBER(D6),D6=40),"Pass",IF(AND(ISNUMBE R(D6),D6=1),"Fail","")) Perhaps =IF(D6="-","",IF(D6=40,"Pass","Fail")) Regards Dav -- Dav ------------------------------------------------------------------------ Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107 View this thread: http://www.excelforum.com/showthread...hreadid=518137 |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
type0 instead of-
-- paul remove nospam for email addy! "Param" wrote: I create function to read as: =IF(D6=40,"Pass",IF(D6=1,"Fail",IF(D6=0,""))) my question, when I enter mark 40 and above it appear 'Pass" - ok when I enter below 40 it appear 'Fail' - ok but if I enter - (still show 'Pass') how to overcome like when I enter 0 - become blank |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Dynamic Range with unused formula messing up x axis on dynamic graph | Charts and Charting in Excel | |||
2 Nesting questions | Excel Worksheet Functions | |||
Formula Problem - interrupted by #VALUE! in other cells!? | Excel Worksheet Functions | |||
Formula checking multiple worksheets | Excel Worksheet Functions | |||
Match / Vlookup within an Array formula | Excel Discussion (Misc queries) |