LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
David McRitchie
 
Posts: n/a
Default how to do i use a function if cells contain grades A B C f print.

Care to be more specific, if not, possibly you are talking about student test grades.
IF Worksheet Function

=IF(OR(A1="A", A1="B", A1="C", A1="D"), "pass", "fail")

=IF(A1"D", "fail","pass")

=IF(AND(A1="A",A1<="F"),IF(A1"D", "fail","pass"),"")

More on grading, not necessarily related to your question.
http://www.mvps.org/dmcritchie/excel...up.htm#grading

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"fabien" wrote in message ...
suppose cells contain A, B, C and D which function do I have to use to print
"pass" or "fail"



 
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
How can I print current row in same place on paper but not print surrounding cells??? Andy Ford New Users to Excel 1 September 2nd 05 05:50 AM
print view & print, in excel, different size cells buddyorliz Excel Discussion (Misc queries) 3 September 1st 05 01:20 PM
I need to print cells under the orginal line instead of page break InvoCare Excel Discussion (Misc queries) 1 August 29th 05 08:32 PM
Using SUM function with #N/A in some cells Jeeper Excel Worksheet Functions 5 June 10th 05 06:28 AM
Custom Function not being auto calculated when cells change..help? Alex Wolff Excel Worksheet Functions 4 March 22nd 05 07:06 PM


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