Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
Another formula approach that will work is: for Sunday and Monday use this formula =MOD(A1-1,7)<2 For Wednesday and Thursday use =OR(MOD(A1-1,7)=3,MOD(A1-1,7)=4) For the rest of the days nothing since you want white. To conditionally format your cell(s): In 2003: 1. Select the cells you want to format (column C) 2. Choose Format, Conditional Formatting 3. Choose Formula is from the first drop down 4. In the second box enter the formula: 1st formula above 5. Click the Format button 6. Choose a color on the Patterns tab (or any available option) 7. Click OK one. 8. Click Add 9. For Condition 2, from the first drop down pick Formula is 10. In the second box enter the formula: 2nd formula above 11. Click the Format button 1. Choose a color and click OK twice. In 2007: 1. Highlight all the cells on the rows you want formatted 2. Choose Home, Conditional Formatting, Manage Rules, New Rule 3. Choose Use a formula to determine which cell to format 4. In the Format values where this formula is true enter the following formula: first formula above 5. Click the Format button and choose a format. 6. Click OK twice 7. New Rule 8. Choose Use a formula to determine which cell to format 9. In the Format values where this formula is true enter the following formula: second formula above 10. Click the Format button and choose a format. 11. Click OK tree times. -- If this helps, please click the Yes button Cheers, Shane Devenshire "Peter" wrote: I have one cell that is the date plus 1. What I need to do if the cell's date is Sun or Mon then I want it to change the background to green. If it is Wed or Thurs I want it to be blue. If it is a Tue. Fri or Sat I want it to be white. I have tried many different formulas to change this and still can't figure it out. Any help is appreciated. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
coloring a cell if blank | Excel Worksheet Functions | |||
Cell coloring according to the other cell's value | Excel Worksheet Functions | |||
Cell Coloring | Excel Worksheet Functions | |||
conditional cell coloring | Excel Worksheet Functions | |||
Coloring Active Cell | Excel Worksheet Functions |