A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Worksheet Functions
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Difference Between Dates WITH Conditional Formatting



 
 
Thread Tools Display Modes
  #1  
Old May 18th, 2010, 10:07 PM posted to microsoft.public.excel.worksheet.functions
Doug
external usenet poster
 
Posts: 616
Default Difference Between Dates WITH Conditional Formatting

I want cell C2 to turn RED if it is more than two days different than the
date in cell B2. Oddly, the formula "=B2-TODAY()2" works, but that is not
what I want to do. I want to say "=B2-C2()2", but the cell does not change
color. MS Excel just stared back at me. An exhaustive search of the www was
of no avail. Suggestions are welcome.

DOUG ECKERT
Wichita KS
  #2  
Old May 18th, 2010, 10:11 PM posted to microsoft.public.excel.worksheet.functions
Mark
external usenet poster
 
Posts: 1,534
Default Difference Between Dates WITH Conditional Formatting

for starters, try taking out the () in yoru C2() formula.

The () is a call to a formula, but C2 is a cell addres, not a formula

"DOUG" wrote:

I want cell C2 to turn RED if it is more than two days different than the
date in cell B2. Oddly, the formula "=B2-TODAY()2" works, but that is not
what I want to do. I want to say "=B2-C2()2", but the cell does not change
color. MS Excel just stared back at me. An exhaustive search of the www was
of no avail. Suggestions are welcome.

DOUG ECKERT
Wichita KS

  #3  
Old May 18th, 2010, 10:25 PM posted to microsoft.public.excel.worksheet.functions
Gord Dibben
external usenet poster
 
Posts: 20,252
Default Difference Between Dates WITH Conditional Formatting

=C2(B2+2)


Gord Dibben MS Excel MVP

On Tue, 18 May 2010 14:07:01 -0700, DOUG
wrote:

I want cell C2 to turn RED if it is more than two days different than the
date in cell B2. Oddly, the formula "=B2-TODAY()2" works, but that is not
what I want to do. I want to say "=B2-C2()2", but the cell does not change
color. MS Excel just stared back at me. An exhaustive search of the www was
of no avail. Suggestions are welcome.

DOUG ECKERT
Wichita KS


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 04:31 PM.


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