Re: Conditional Formatting With Grades

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance




Use the Formula is option in Conditional Formatting. Say your grades
are in column A then in A1,

First Condition

=MATCH(A1,$H$1:$H$5,0) ---Format as desired, click OK then ADD

Second Condition

=MATCH(A1,$I$1:$I$2,0) ----Format as desired, click OK then ADD

Third Condition

=MATCH(A1,$J$1:$J$6,0) ----Format as desired, click OK, and OK.

This is assuming your grade values for each condition are in H1:H5 for
the first, I1:I2 for the second and J1:J6 for the third.

You could also use Function is and something like:

=OR(A1="A",A1="A+",A1="A-",A1="B+",A1="B")

Add for each condition.

Copy this formatting to the rest of the cells you want to apply it to.

HTH

Steve


--
SteveG
------------------------------------------------------------------------
SteveG's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=7571
View this thread: http://www.excelforum.com/showthread.php?threadid=548704

.



Relevant Pages

  • Re: Nested IIF expression doesnt return 3rd condition!
    ... To test 3 conditions you only need 2 IIf functions. ... The first condition returns a 1 as desired. ... The second condition returns a 3 ... The third condition returns a 1 instead of a 2. ...
    (comp.databases.ms-access)
  • Re: VB - turning cells specified colours
    ... Conditional Formatting ... Set your first condition. ... Set your second condition. ... Set your third condition. ...
    (microsoft.public.excel.programming)
  • Re: Nested IIF expression doesnt return 3rd condition!
    ... Current EAC Gross Margin, Return Value ... The first condition returns a 1 as desired. ... The second condition returns a 3 ... The third condition returns a 1 instead of a 2. ...
    (comp.databases.ms-access)
  • Re: Conditions in If sats true one each bUT NOT SIMULTANEOUSLY
    ... I have an if sats with three statements. ... statement to be true if the first condition OR the second condition OR the ... Steve Lord ...
    (comp.soft-sys.matlab)
  • Re: using 2 If statements
    ... I am using Verilog-a.. ... They are evaluated in sequence. ... In fact if the first condition in the first if state is false, the second condition isn't evaluated either. ...
    (comp.lang.verilog)