Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Formula for CF to color current month

My extense worksheet of DATES need to color RED the cell that has the date of
the current month( ex.. 9/2/8, 9/10/8, 930/8 ), and will change accordinly to
each month.
I guess using a formula in conditional formatting, but I have not been able
to figure it out after trying diferent formulas. Open for formulas. Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Formula for CF to color current month

Select your range to format

I selected A:E and with A1 the activecell:

Formula is:
=text(a1,"yyyymm")=text(today(),"yyyymm")

This checks both year and month.

If you only cared about the month:
Formula is:
=month(a1)=month(today())



computexcel wrote:

My extense worksheet of DATES need to color RED the cell that has the date of
the current month( ex.. 9/2/8, 9/10/8, 930/8 ), and will change accordinly to
each month.
I guess using a formula in conditional formatting, but I have not been able
to figure it out after trying diferent formulas. Open for formulas. Thanks.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 43
Default Formula for CF to color current month

Thanks Dave, Wonderformula!

"Dave Peterson" wrote:

Select your range to format

I selected A:E and with A1 the activecell:

Formula is:
=text(a1,"yyyymm")=text(today(),"yyyymm")

This checks both year and month.

If you only cared about the month:
Formula is:
=month(a1)=month(today())



computexcel wrote:

My extense worksheet of DATES need to color RED the cell that has the date of
the current month( ex.. 9/2/8, 9/10/8, 930/8 ), and will change accordinly to
each month.
I guess using a formula in conditional formatting, but I have not been able
to figure it out after trying diferent formulas. Open for formulas. Thanks.


--

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
Auto Chg Tab Color vs Current Month Ken Excel Discussion (Misc queries) 4 March 14th 07 08:55 PM
Current date formula based on month Renz09 Excel Discussion (Misc queries) 2 May 5th 06 07:04 AM
how to adjust formula dependent on current month Ellen Excel Discussion (Misc queries) 2 September 2nd 05 07:20 PM
Change Cell Color if in current Month Leslie Excel Worksheet Functions 6 June 28th 05 06:17 PM
Formula for current month minus one = Quarter number in a macro. Pank Excel Discussion (Misc queries) 11 June 22nd 05 02:47 PM


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