Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 148
Default Conditional Formatting or IF function

Hi,

I have a worksheet that on Col A I need a "tickler" to prompt me to update a
particular row based on date requirement on column B (i.e., every 30, 60 or
90, etc days).

I came up with a conditional formating on Col A, row 2:
=datevalue("2/25/2008"), will make a yellow background/pattern

Right now, I have to adjust the dates every 30, 60, days to promt me to
update.

An if function will also do: (please edit the formula below)

=IF(NOW()=DATEVALUE("1/3/2008"), " Update!","****")

If there a way to edit my conditional formatting or if formual to make it
prompt every 30, 60, etc. days.

Thank you in advance.

Danny





  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting or IF function

Presuming that you want entire rows to be conditionally formatted based on
the dates in col B (dates in col B are assumed real dates) like this:

red, if date in col B is = 90 days old
brown, if date in col B = 60 days old, but < 90 days old
yellow, if date in col B = 30 days old, but < 60 days old

Select the entire sheet (A1 active),
then apply CF using "Formula Is" for conditions 1,2,3 as:

Cond1: =AND($B1<"",$B1+90<=TODAY())
Format: red fill

Cond2: =AND($B1<"",$B1+60<=TODAY(),$B1+90TODAY())
Format: brown fill

Cond3: =AND($B1<"",$B1+30<=TODAY(),$B1+60TODAY())
Format: yellow fill

The precautionary criteria: $B1<""
is to ensure that any blank cells in col B will not spuriously trigger the CF
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Danny" wrote:
I have a worksheet that on Col A I need a "tickler" to prompt me to update a
particular row based on date requirement on column B (i.e., every 30, 60 or
90, etc days).

I came up with a conditional formating on Col A, row 2:
=datevalue("2/25/2008"), will make a yellow background/pattern

Right now, I have to adjust the dates every 30, 60, days to promt me to
update.

An if function will also do: (please edit the formula below)

=IF(NOW()=DATEVALUE("1/3/2008"), " Update!","****")

If there a way to edit my conditional formatting or if formual to make it
prompt every 30, 60, etc. days.

Thank you in advance.

Danny

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 148
Default Conditional Formatting or IF function

Thank you Max. You just made my day!

"Max" wrote:

Presuming that you want entire rows to be conditionally formatted based on
the dates in col B (dates in col B are assumed real dates) like this:

red, if date in col B is = 90 days old
brown, if date in col B = 60 days old, but < 90 days old
yellow, if date in col B = 30 days old, but < 60 days old

Select the entire sheet (A1 active),
then apply CF using "Formula Is" for conditions 1,2,3 as:

Cond1: =AND($B1<"",$B1+90<=TODAY())
Format: red fill

Cond2: =AND($B1<"",$B1+60<=TODAY(),$B1+90TODAY())
Format: brown fill

Cond3: =AND($B1<"",$B1+30<=TODAY(),$B1+60TODAY())
Format: yellow fill

The precautionary criteria: $B1<""
is to ensure that any blank cells in col B will not spuriously trigger the CF
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Danny" wrote:
I have a worksheet that on Col A I need a "tickler" to prompt me to update a
particular row based on date requirement on column B (i.e., every 30, 60 or
90, etc days).

I came up with a conditional formating on Col A, row 2:
=datevalue("2/25/2008"), will make a yellow background/pattern

Right now, I have to adjust the dates every 30, 60, days to promt me to
update.

An if function will also do: (please edit the formula below)

=IF(NOW()=DATEVALUE("1/3/2008"), " Update!","****")

If there a way to edit my conditional formatting or if formual to make it
prompt every 30, 60, etc. days.

Thank you in advance.

Danny

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Max Max is offline
external usenet poster
 
Posts: 9,221
Default Conditional Formatting or IF function

Welcome, Danny
Pl click the "Yes" button below,
from where you're reading this message
--
Max
Singapore
http://savefile.com/projects/236895
xdemechanik
---
"Danny" wrote:
Thank you Max. You just made my day!


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 with IF function Michael Excel Discussion (Misc queries) 1 May 29th 07 05:38 AM
Conditional formatting with IF function Michael Excel Discussion (Misc queries) 2 May 28th 07 05:26 PM
Conditional Formatting with IF function mpenkala Excel Worksheet Functions 0 November 30th 06 04:02 PM
Help on a function with Conditional Formatting nemadrias Excel Worksheet Functions 1 August 10th 06 08:55 PM
Conditional Formatting (IF function) Neo1 Excel Worksheet Functions 5 March 2nd 06 10:38 PM


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"