View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default Pass or Fail (green or red) criteria for cell?

"Pheasant PluckerŪ" wrote in message
...
Hi there,

I have a spreadsheet where the percentage score will indicate a Pass or
Fail.

Is there a way that I can automatically input the words Pass or Fail
depending on what the percentage score actually is?

For example;

If cell H20 indicates 80% or above then input the word Pass (text coloured
black and bold) in cell I22 coloured green?

If cell H20 indicates less than 80% then input the word Fail (text

coloured
black and bold) in cell I22 coloured Red?

If the black text in a coloured box is too difficult to achieve then just
the word Pass in Green or Fail in Red would suffice.

I22 to have no colour if no result present.

Does this even make sense and if it does is there an easy way to achieve
this?


In I22 put the formula =IF(H20="","",IF(H20<80%,"FAIL","PASS"))
Then in I22 select Format/ Conditional Formatting
Set the condition Cell Value is equal to FAIL, use the pattern tab for your
red background and the Font tab to make your text bold.
Use the Add button to add another condition & set up your PASS to green &
bold in the same way.
--
David Biddulph