Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default Conditional formatting of dates in two cells using Excel 2007

Hi,

I've got a spreadsheet set up as:
Column A - task
Column B - Expected completion date
Column C - Actual completion date

and I want to set it up so that all tasks that have not yet been completed
but should have been are highlighted in red (that is, for example, if B2<
todays date and C2 is blank then A2 is highlighted red).

I've been messing about but can't seem to get it right in the conditional
formatting - any suggestions?

thanks




  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,510
Default Conditional formatting of dates in two cells using Excel 2007

Select cell A2
Select conditional format - formula
Enter the following forumla
=AND(B2<TODAY(),C2="")
Set the required format then OK/apply etc until exit conditional format
Copy Cell A2
Paste Special - Formats to the remaining cells to have the conditional
format.

In lieu of copy - paste special you can also select the entire range to
format before opening conditional format just so long as you ensure that A2
is the active cell (The first cell in the selection or one that stays white
in the selection). You then enter the formula as if only applying it to only
one cell A2 exactly as above.

--
Regards,

OssieMac


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Conditional formatting of dates in two cells using Excel 2007

1. Select the Range (say A1:A10) or column A. Please note that the cell
reference A1 mentioned in the formula is the active cell in the selection.
Active cell will have a white background even after selection

2. From menu FormatConditional Formatting

3. For Condition1Select 'Formula Is' and enter the below formula
=AND(B1<TODAY(),C1="",A1<"",B10)

4. Click Format ButtonPattern and select your color (say Red)

5. Hit OK



If this post helps click Yes
---------------
Jacob Skaria


"lemur99" wrote:

Hi,

I've got a spreadsheet set up as:
Column A - task
Column B - Expected completion date
Column C - Actual completion date

and I want to set it up so that all tasks that have not yet been completed
but should have been are highlighted in red (that is, for example, if B2<
todays date and C2 is blank then A2 is highlighted red).

I've been messing about but can't seem to get it right in the conditional
formatting - any suggestions?

thanks




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 cells with dates MsButterfly Excel Discussion (Misc queries) 2 January 13th 09 11:03 PM
Conditional formatting based on the sum of two cells (Excel 2007) [email protected] Excel Discussion (Misc queries) 1 June 12th 08 08:25 AM
Conditional formatting dates in 2007 Lucy Excel Worksheet Functions 5 June 4th 08 04:47 PM
HELP - Conditional Formatting Dates & Blank Cells Diane1477 Excel Worksheet Functions 5 October 3rd 07 05:26 PM
Conditional Formatting in for Cells with Mixed Dates and Text M. A. Newcomb Excel Worksheet Functions 1 May 8th 07 10:05 PM


All times are GMT +1. The time now is 06:06 AM.

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"