Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 440
Default CF looking at more than 1 cell

With this CF in column "D", "Cell Value is less than =NOW()", the cell colour
becomes red if the date in "D" is less than today's date.
Column E may have text in it.
So using CF, "D" to go red if date is less than NOW() but if text in "E",
then remove red, i.e no formatting at all

Any ideas?

--
Traa Dy Liooar

Jock
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,651
Default CF looking at more than 1 cell

Formula Is, rather than Cell Value Is
=AND(D1<TODAY(),NOT(ISTEXT(E1)))

If you want to use NOW() rather than today's date, you can change TODAY() in
the formula to NOW()
--
David Biddulph

"Jock" wrote in message
...
With this CF in column "D", "Cell Value is less than =NOW()", the cell
colour
becomes red if the date in "D" is less than today's date.
Column E may have text in it.
So using CF, "D" to go red if date is less than NOW() but if text in "E",
then remove red, i.e no formatting at all

Any ideas?

--
Traa Dy Liooar

Jock



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 440
Default CF looking at more than 1 cell

Nice one, thanks David.

The issue I now have is that the formula I have in "D" [=IF(C6="Y","",A6+3)]
treats A6 (which is empty) as 31/12/1900 with the result that all cells in
"D" (more or less) are red!
How do I get Excel to treat an empty cell as just that?
--
Traa Dy Liooar

Jock


"David Biddulph" wrote:

Formula Is, rather than Cell Value Is
=AND(D1<TODAY(),NOT(ISTEXT(E1)))

If you want to use NOW() rather than today's date, you can change TODAY() in
the formula to NOW()
--
David Biddulph

"Jock" wrote in message
...
With this CF in column "D", "Cell Value is less than =NOW()", the cell
colour
becomes red if the date in "D" is less than today's date.
Column E may have text in it.
So using CF, "D" to go red if date is less than NOW() but if text in "E",
then remove red, i.e no formatting at all

Any ideas?

--
Traa Dy Liooar

Jock




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
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 [email protected] Excel Worksheet Functions 1 August 22nd 08 02:04 AM
How can I copy a value from a cell and paste it into another cell while adding it to the previous value in that cell [email protected] Excel Worksheet Functions 2 November 7th 07 09:39 AM
How to create/run "cell A equals Cell B put Cell C info in Cell D abmb161 Excel Discussion (Misc queries) 5 January 26th 06 06:36 PM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 1 February 11th 05 06:36 AM
Cell Formula reference to cell Based On third Cell Content Gabriel Excel Discussion (Misc queries) 0 February 11th 05 05:35 AM


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