Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 177
Default conditional format for if month(today) = xxx

Hi.

I would like a conditional format set to turn a data entry column a color if
it is in the right month. I tried =IF(MONTH(E$2)=MONTH(TODAY()),) but its
not working. I am guessing that its because today() is volatile. Is there a
way to do this?

Thanks,


Todd
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 252
Default conditional format for if month(today) = xxx

=MONTH(E$2)=MONTH(TODAY())

try the above formula. Conditional formating is just looking for a TRUE or
FALSE value, so there is no need for the IF part.

"Todd" wrote:

Hi.

I would like a conditional format set to turn a data entry column a color if
it is in the right month. I tried =IF(MONTH(E$2)=MONTH(TODAY()),) but its
not working. I am guessing that its because today() is volatile. Is there a
way to do this?

Thanks,


Todd

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 740
Default conditional format for if month(today) = xxx

lets try to minimize the use of today() or Now() in the conditional format
formula..
place in a specific secure cells the following
(e.g. )
IV1 = month(now())
IV2 = year(now())

then on conditional format

e.g Column A contains list of dates

on cell A1 <if month and year sensitive

formula is: =and(MONTH(A1)=$IV$1,YEAR(A1)=$IV$2)
pick your color font/pattern

if it is only MONTH sensitive, regardless of the year
formula is: =MONTH(A1)=$IV$1
pick your color font/pattern

maybe
--
*****
birds of the same feather flock together..



"Todd" wrote:

Hi.

I would like a conditional format set to turn a data entry column a color if
it is in the right month. I tried =IF(MONTH(E$2)=MONTH(TODAY()),) but its
not working. I am guessing that its because today() is volatile. Is there a
way to do this?

Thanks,


Todd

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default conditional format for if month(today) = xxx

One mo

=AND(E$2<"",MONTH(E$2)=MONTH(TODAY()))

Just in case E$2 is empty.

Todd wrote:

Hi.

I would like a conditional format set to turn a data entry column a color if
it is in the right month. I tried =IF(MONTH(E$2)=MONTH(TODAY()),) but its
not working. I am guessing that its because today() is volatile. Is there a
way to do this?

Thanks,

Todd


--

Dave Peterson
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
Is it possible to copy a conditional format formula as paste value Francois via OfficeKB.com Excel Discussion (Misc queries) 2 September 22nd 06 09:40 AM
Conditional Format Isa Excel Discussion (Misc queries) 2 September 15th 06 05:56 PM
Conditional Formating. Remove condition, keep format? Mr. Wing Excel Discussion (Misc queries) 0 September 14th 06 07:15 PM
How to create a conditional format that changes the number format tmbo Excel Discussion (Misc queries) 1 August 23rd 06 06:20 AM
Cell Format Changes When Data Is Entered - Not Conditional Formatt SundanceKidLudwig Excel Worksheet Functions 2 September 30th 05 02:07 PM


All times are GMT +1. The time now is 09:10 AM.

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"