Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CP CP is offline
external usenet poster
 
Posts: 64
Default Conditional Formatting by Date (Month)

I want to format a Date Column

If Column F is less than any date from today + 1month

Meaning today being 2/9/09 anything in F that is less than 31/10/09

Any guidance please?
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,934
Default Conditional Formatting by Date (Month)

I guess this Conditional Format formula will do what you want...

=AND(F1<DATE(YEAR(NOW()),MONTH(NOW())+1,DAY(NOW()) ),F1<"")

--
Rick (MVP - Excel)


"CP" wrote in message
...
I want to format a Date Column

If Column F is less than any date from today + 1month

Meaning today being 2/9/09 anything in F that is less than 31/10/09

Any guidance please?


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Conditional Formatting by Date (Month)

Make sure the Analysis ToolPak Add-in is activated.

Assuming you're starting in F2
Format - Conditional Format.
Formula is:
=F2<=EOMONTH(TODAY(),1)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"CP" wrote:

I want to format a Date Column

If Column F is less than any date from today + 1month

Meaning today being 2/9/09 anything in F that is less than 31/10/09

Any guidance please?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 8,520
Default Conditional Formatting by Date (Month)

Your example and query contradicts..If you mean today+1month try the below

=AND(F10,F1<DATE(YEAR(TODAY()),MONTH(TODAY())+1,D AY(TODAY())))

If this post helps click Yes
---------------
Jacob Skaria


"CP" wrote:

I want to format a Date Column

If Column F is less than any date from today + 1month

Meaning today being 2/9/09 anything in F that is less than 31/10/09

Any guidance please?

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CP CP is offline
external usenet poster
 
Posts: 64
Default Conditional Formatting by Date (Month)

Ricks answer worked - was more likely my explanation was, thank you

"Jacob Skaria" wrote:

Your example and query contradicts..If you mean today+1month try the below

=AND(F10,F1<DATE(YEAR(TODAY()),MONTH(TODAY())+1,D AY(TODAY())))

If this post helps click Yes
---------------
Jacob Skaria


"CP" wrote:

I want to format a Date Column

If Column F is less than any date from today + 1month

Meaning today being 2/9/09 anything in F that is less than 31/10/09

Any guidance please?



  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
CP CP is offline
external usenet poster
 
Posts: 64
Default Conditional Formatting by Date (Month)

I already have the answer now thank you.

*Analysis ToolPak Add-in* - what and where is this?

"Luke M" wrote:

Make sure the Analysis ToolPak Add-in is activated.

Assuming you're starting in F2
Format - Conditional Format.
Formula is:
=F2<=EOMONTH(TODAY(),1)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"CP" wrote:

I want to format a Date Column

If Column F is less than any date from today + 1month

Meaning today being 2/9/09 anything in F that is less than 31/10/09

Any guidance please?

  #7   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,722
Default Conditional Formatting by Date (Month)

Under Tools - Add-ins, you'll see a variety of add-ins that you can choose to
activate in XL.
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"CP" wrote:

I already have the answer now thank you.

*Analysis ToolPak Add-in* - what and where is this?

"Luke M" wrote:

Make sure the Analysis ToolPak Add-in is activated.

Assuming you're starting in F2
Format - Conditional Format.
Formula is:
=F2<=EOMONTH(TODAY(),1)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"CP" wrote:

I want to format a Date Column

If Column F is less than any date from today + 1month

Meaning today being 2/9/09 anything in F that is less than 31/10/09

Any guidance please?

  #8   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default Conditional Formatting by Date (Month)

That won't work in Excel versions 2003 and earlier. You can't directly use
functions that are in the ATP.

You'd have to use a defined name.

InsertNameDefine
Name: TargetDate
Refers to: =EOMONTH(TODAY(),1)

Then, as the formatting formula:

=F2<=TargetDate

--
Biff
Microsoft Excel MVP


"Luke M" wrote in message
...
Make sure the Analysis ToolPak Add-in is activated.

Assuming you're starting in F2
Format - Conditional Format.
Formula is:
=F2<=EOMONTH(TODAY(),1)
--
Best Regards,

Luke M
*Remember to click "yes" if this post helped you!*


"CP" wrote:

I want to format a Date Column

If Column F is less than any date from today + 1month

Meaning today being 2/9/09 anything in F that is less than 31/10/09

Any guidance please?



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 for cell date to equal today's date Sistereinstein Excel Worksheet Functions 2 September 10th 12 07:53 PM
conditional formatting match month yuen Excel Discussion (Misc queries) 2 December 5th 08 11:57 PM
Conditional Format for a date 1 month before Expiration in Excel 2 JonMAd Excel Worksheet Functions 2 August 28th 07 05:14 AM
Date arithmetic: adding 1 month to prior end of month date manxman Excel Worksheet Functions 2 July 14th 06 09:29 PM
Conditional Formatting based on month name David Excel Discussion (Misc queries) 4 February 9th 05 09:19 AM


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