Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 13
Default conditional formatting with blank date fields

I am trying to do a CF on a cell as follows:

If D40 is not blank and E40 is blank, I would like to apply the CF.
D40 and E40 are both formatted as dates.

I tried =AND(D40<"",E40=""), but it did not work.
I also tried comparing it to 0 (zero) rather than to "", but it still didn't
work.

Any ideas?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,345
Default conditional formatting with blank date fields

=AND(D40<"",E40="")

Works for me.

--
HTH

Sandy
In Perth, the ancient capital of Scotland
and the crowning place of kings


Replace @mailinator.com with @tiscali.co.uk


"Freida" wrote in message
...
I am trying to do a CF on a cell as follows:

If D40 is not blank and E40 is blank, I would like to apply the CF.
D40 and E40 are both formatted as dates.

I tried =AND(D40<"",E40=""), but it did not work.
I also tried comparing it to 0 (zero) rather than to "", but it still
didn't
work.

Any ideas?



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default conditional formatting with blank date fields

Did you remember to select "Formula Is", rather than "Cell Value Is" ?
--
David Biddulph

"Freida" wrote in message
...
I am trying to do a CF on a cell as follows:

If D40 is not blank and E40 is blank, I would like to apply the CF.
D40 and E40 are both formatted as dates.

I tried =AND(D40<"",E40=""), but it did not work.
I also tried comparing it to 0 (zero) rather than to "", but it still
didn't
work.

Any ideas?



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:highlight row based on blank or non-blank c Nat Maxwell Excel Worksheet Functions 3 May 14th 23 07:43 PM
F2 shortcut and strange formatting of date fields Kate Excel Discussion (Misc queries) 1 July 30th 07 12:10 PM
Conditional formatting - Blank kalz Excel Discussion (Misc queries) 1 October 13th 06 05:14 AM
conditional formatting:highlight row based on blank or non-blank c Nat Maxwell Excel Discussion (Misc queries) 2 November 30th 05 10:30 PM
Formatting date fields after export Raymond Excel Discussion (Misc queries) 2 December 1st 04 12:04 AM


All times are GMT +1. The time now is 05:54 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"