Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
loc loc is offline
external usenet poster
 
Posts: 18
Default conditional formula with date

I have a delivery date column with mmm-yy format. How can I write a
conditional formula so that the date turns yellow when it's due in 30 days
and turns red when it's over due? Please help!

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default conditional formula with date

Hi,

For closer than 30 try
=AND(A1<TODAY()+30,A1=TODAY())

and for overdue
=A1<TODAY()

Mike

"Loc" wrote:

I have a delivery date column with mmm-yy format. How can I write a
conditional formula so that the date turns yellow when it's due in 30 days
and turns red when it's over due? Please help!

  #3   Report Post  
Posted to microsoft.public.excel.misc
loc loc is offline
external usenet poster
 
Posts: 18
Default conditional formula with date

Mike,
The formula you wrote is for one cell. If I want to apply this formula to
whole column, should I replace A1 with A1:A5000? Thank you for the help.

Loc

"Mike H" wrote:

Hi,

For closer than 30 try
=AND(A1<TODAY()+30,A1=TODAY())

and for overdue
=A1<TODAY()

Mike

"Loc" wrote:

I have a delivery date column with mmm-yy format. How can I write a
conditional formula so that the date turns yellow when it's due in 30 days
and turns red when it's over due? Please help!

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1,358
Default conditional formula with date

What Mike is saying, after you do the conditional format for the 1 cell, then
highlight the entire selection, go to Conditional Formatting, and press OK.
So long as your cell refernce is not anchored (with $'s), then it will
progress accordingly for all your range.
--
John C


"Loc" wrote:

Mike,
The formula you wrote is for one cell. If I want to apply this formula to
whole column, should I replace A1 with A1:A5000? Thank you for the help.

Loc

"Mike H" wrote:

Hi,

For closer than 30 try
=AND(A1<TODAY()+30,A1=TODAY())

and for overdue
=A1<TODAY()

Mike

"Loc" wrote:

I have a delivery date column with mmm-yy format. How can I write a
conditional formula so that the date turns yellow when it's due in 30 days
and turns red when it's over due? Please help!

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default conditional formula with date

Hi,

From your original post I thought you understood how to enter it for
multiple cells.

If the cells are in column A select the range of cells and then
Format|Conditional Format
Formula is
enter the formula
pick a colour
OK

You will then find excel has been smart enough to increment A1 to the
appropriate address for each cell you had selected. If it's a column other
than A then change the A to the appropriate column. If the range started in
D6 for example you would select D6 down and change A1 to D6 and enter the
formula.

Mike

"Loc" wrote:

Mike,
The formula you wrote is for one cell. If I want to apply this formula to
whole column, should I replace A1 with A1:A5000? Thank you for the help.

Loc

"Mike H" wrote:

Hi,

For closer than 30 try
=AND(A1<TODAY()+30,A1=TODAY())

and for overdue
=A1<TODAY()

Mike

"Loc" wrote:

I have a delivery date column with mmm-yy format. How can I write a
conditional formula so that the date turns yellow when it's due in 30 days
and turns red when it's over due? Please help!



  #6   Report Post  
Posted to microsoft.public.excel.misc
loc loc is offline
external usenet poster
 
Posts: 18
Default conditional formula with date

Thank you, John, for the info.

Loc

"John C" wrote:

What Mike is saying, after you do the conditional format for the 1 cell, then
highlight the entire selection, go to Conditional Formatting, and press OK.
So long as your cell refernce is not anchored (with $'s), then it will
progress accordingly for all your range.
--
John C


"Loc" wrote:

Mike,
The formula you wrote is for one cell. If I want to apply this formula to
whole column, should I replace A1 with A1:A5000? Thank you for the help.

Loc

"Mike H" wrote:

Hi,

For closer than 30 try
=AND(A1<TODAY()+30,A1=TODAY())

and for overdue
=A1<TODAY()

Mike

"Loc" wrote:

I have a delivery date column with mmm-yy format. How can I write a
conditional formula so that the date turns yellow when it's due in 30 days
and turns red when it's over due? Please help!

  #7   Report Post  
Posted to microsoft.public.excel.misc
loc loc is offline
external usenet poster
 
Posts: 18
Default conditional formula with date

Thank you, Mike. It works like advertised. Thanks again.

Loc

"Mike H" wrote:

Hi,

From your original post I thought you understood how to enter it for
multiple cells.

If the cells are in column A select the range of cells and then
Format|Conditional Format
Formula is
enter the formula
pick a colour
OK

You will then find excel has been smart enough to increment A1 to the
appropriate address for each cell you had selected. If it's a column other
than A then change the A to the appropriate column. If the range started in
D6 for example you would select D6 down and change A1 to D6 and enter the
formula.

Mike

"Loc" wrote:

Mike,
The formula you wrote is for one cell. If I want to apply this formula to
whole column, should I replace A1 with A1:A5000? Thank you for the help.

Loc

"Mike H" wrote:

Hi,

For closer than 30 try
=AND(A1<TODAY()+30,A1=TODAY())

and for overdue
=A1<TODAY()

Mike

"Loc" wrote:

I have a delivery date column with mmm-yy format. How can I write a
conditional formula so that the date turns yellow when it's due in 30 days
and turns red when it's over due? Please help!

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 date array formula caj Excel Discussion (Misc queries) 1 September 23rd 06 06:42 AM
Conditional Array Formula for date caj Excel Discussion (Misc queries) 5 September 19th 06 09:05 PM
conditional date formula bemused Excel Worksheet Functions 2 January 13th 06 03:00 AM
Conditional formula date Ron Rosenfeld Excel Worksheet Functions 1 October 25th 05 03:12 PM
Conditional formula date tghcogo Excel Worksheet Functions 0 October 25th 05 02:52 PM


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