conditional formatting

E

erregsec

I am not sure how to set up the conditional formatting for the following:

I have a group of employees who work with patient accts. So, in cell B2, B9,
B16, B23, B30, B37 and B44 is the number of patients that each employee
worked with that day. In cell B51 I have it set up to average all of the
numbers in those cells just listed. What I want to do is set up a conditional
format so if they are within five above or five below that average, their
cell turns one color. If they are more than five below the average the cell
turns a different color and if more than five above the average it turnes a
different color. That way they can see at a glance if they are working within
the average. Can someone help??
 
D

Daniel.C

Select the cells (beginning with B2) and use the following formula for
the first condition :
=AND(B2<$B$51-5,B2>$B$51+5)
use the following formula for the second condition :
=OR(B2<$B$51-5,B2>$B$51+5)
HTH
Daniel
 
J

Joel

You can put any formula you have on the worksheet into a conditional format.
Instead of putting B51 in the conditional format you could use average in the
conditional formating

=AND(B2<Average(B2, B9, B16, B23, B30, B37, B44)-5,B2>Average(B2, B9, B16,
B23, B30, B37, B44)+5)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top