Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default conditional formatting

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??
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default conditional formatting

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

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??



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default conditional formatting

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,B2Average(B2, B9, B16,
B23, B30, B37, B44)+5)




"erregsec" wrote:

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??

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 26
Default conditional formatting

I believe your AND and OR should be switched around.
--
future_vba_expert


"Daniel.C" wrote:

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

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??




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 133
Default conditional formatting

You quite right !
Within range :
=AND(B2=$B$51-5,B2<=$B$51+5)
Outside :
=OR(B2<$B$51-5,B2$B$51+5)
Daniel

I believe your AND and OR should be switched around.
--
future_vba_expert


"Daniel.C" wrote:

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

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??






Reply
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
Conditional formatting--different formatting depending on cell con Tammy S. Excel Discussion (Misc queries) 3 March 30th 09 08:11 PM
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Protect Cell Formatting including Conditional Formatting Mick Jennings Excel Discussion (Misc queries) 5 November 13th 07 05:32 PM
conditional Formatting based on cell formatting Totom Excel Worksheet Functions 3 January 20th 07 02:02 PM
Conditional Formatting that will display conditional data BrainFart Excel Worksheet Functions 1 September 13th 05 05:45 PM


All times are GMT +1. The time now is 09:28 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"