QUESTION: What Formula should I write for :
If all G38, G39 and G40 are PASS then F2 should be Pass, and if any one or two of G38, G39 and G40 are Fail then F2 should be Partial Pass, and if all G38, G39 and G40 are Fail then F2 should be Fail.
Please help me in this.
ANSWER: =if(and(G38="PASS",G39="PASS",G40="PASS"),"Pass",if(and(G38="FAIL",G39="FAIL",G40="FAIL"),"Fail","Partial Pass"))
would do it
---------- FOLLOW-UP ----------
QUESTION: Unfortunately, if G39 and G38 and G40 all are pass then it still shows as partial pass? the formula needs coreection :(
I would have G38, G39 and G40 set to have data validation on them which would only allow entries as specified. At the moment one of the cells you refer to does not equal Pass - it might be pass with a space for example - if it did, the formula would return the right results - happy to look at an example sheet to explain why it doesn't work (firstname.lastname@example.org will get me)
A more complicated formula which would also NOT return a grade until all three cells have something in it and which gets rid of trailing or leading spaces is:
This topic answers questions related to Microsoft Excel spreadsheet (or workbook) stand-alone or Mircrosoft Office Excel including Excel 2003, Excel 2007, Office 2000, and Office XP. You can get Excel help on Excel formulas(or functions), Excell macros, charting in Excel, advanced features, and the general use of Excel. This does not provide a general Excel tutorial nor the basics of using a spreadsheet. It provides specific answers to using Microsoft Excel only. If you do not see your Excel question answered in this area then please ask an Excel question here