#1   Report Post  
Howard
 
Posts: n/a
Default Current Month

Cells B1:D1 have a date format: Jan-05, Feb-05, Mar-05 (mmm-yy). If the month
is the current month, I would like to have that month and the four cells
immediately below that month highlighed. For example, since March is the
current month, I would like cells D1:D5 highlighted. The highlighting would
roll automatically based on the current month.

Thanks,
--
Howard

Howard
  #2   Report Post  
Bob Phillips
 
Posts: n/a
Default

Use conditional formatting

Select B1:D5
FormatConditional Formatting
Change Condition1 to Formula Is
Add a formula of =MONTH(B$1)=MONTH(TODAY())
Click Format
Select the pattern tab
Select a colour

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Howard" wrote in message
...
Cells B1:D1 have a date format: Jan-05, Feb-05, Mar-05 (mmm-yy). If the

month
is the current month, I would like to have that month and the four cells
immediately below that month highlighed. For example, since March is the
current month, I would like cells D1:D5 highlighted. The highlighting

would
roll automatically based on the current month.

Thanks,
--
Howard

Howard



  #3   Report Post  
Barb R.
 
Posts: n/a
Default

I can help you identify the current month but no more. Maybe someone else
can do it more elegantly.

Let's say you are evaluating cell B1

B2: =IF(MONTH(A2)=MONTH(TODAY()),"Current","")

Will return "Current Month" if it's the current month. Otherwise, will
return a blank.

"Howard" wrote:

Cells B1:D1 have a date format: Jan-05, Feb-05, Mar-05 (mmm-yy). If the month
is the current month, I would like to have that month and the four cells
immediately below that month highlighed. For example, since March is the
current month, I would like cells D1:D5 highlighted. The highlighting would
roll automatically based on the current month.

Thanks,
--
Howard

Howard

  #4   Report Post  
Bob Phillips
 
Posts: n/a
Default

BTW, I assume that B1:D1 have a real date, not just text. If it is text, try
a formula of

=PROPER(LEFT(B$1,3))=TEXT(TODAY(),"mmm")


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Use conditional formatting

Select B1:D5
FormatConditional Formatting
Change Condition1 to Formula Is
Add a formula of =MONTH(B$1)=MONTH(TODAY())
Click Format
Select the pattern tab
Select a colour

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Howard" wrote in message
...
Cells B1:D1 have a date format: Jan-05, Feb-05, Mar-05 (mmm-yy). If the

month
is the current month, I would like to have that month and the four cells
immediately below that month highlighed. For example, since March is the
current month, I would like cells D1:D5 highlighted. The highlighting

would
roll automatically based on the current month.

Thanks,
--
Howard

Howard





  #5   Report Post  
Howard
 
Posts: n/a
Default

Thanks!
Yes, it has a real date (mmm-yy). That did highlight the current month. Is
there a way to have the four cells immediately below the cell with the
current month also highlighted? Those cells would have numbers.

Howard

"Bob Phillips" wrote:

BTW, I assume that B1:D1 have a real date, not just text. If it is text, try
a formula of

=PROPER(LEFT(B$1,3))=TEXT(TODAY(),"mmm")


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Use conditional formatting

Select B1:D5
FormatConditional Formatting
Change Condition1 to Formula Is
Add a formula of =MONTH(B$1)=MONTH(TODAY())
Click Format
Select the pattern tab
Select a colour

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Howard" wrote in message
...
Cells B1:D1 have a date format: Jan-05, Feb-05, Mar-05 (mmm-yy). If the

month
is the current month, I would like to have that month and the four cells
immediately below that month highlighed. For example, since March is the
current month, I would like cells D1:D5 highlighted. The highlighting

would
roll automatically based on the current month.

Thanks,
--
Howard

Howard








  #6   Report Post  
Bob Phillips
 
Posts: n/a
Default

If you select B1:D5 as I originally stated, it will apply to al cells, and
so the 4 below are formatted as well

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Howard" wrote in message
...
Thanks!
Yes, it has a real date (mmm-yy). That did highlight the current month.

Is
there a way to have the four cells immediately below the cell with the
current month also highlighted? Those cells would have numbers.

Howard

"Bob Phillips" wrote:

BTW, I assume that B1:D1 have a real date, not just text. If it is text,

try
a formula of

=PROPER(LEFT(B$1,3))=TEXT(TODAY(),"mmm")


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Use conditional formatting

Select B1:D5
FormatConditional Formatting
Change Condition1 to Formula Is
Add a formula of =MONTH(B$1)=MONTH(TODAY())
Click Format
Select the pattern tab
Select a colour

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Howard" wrote in message
...
Cells B1:D1 have a date format: Jan-05, Feb-05, Mar-05 (mmm-yy). If

the
month
is the current month, I would like to have that month and the four

cells
immediately below that month highlighed. For example, since March is

the
current month, I would like cells D1:D5 highlighted. The

highlighting
would
roll automatically based on the current month.

Thanks,
--
Howard

Howard







  #7   Report Post  
Howard
 
Posts: n/a
Default

Bob, Thanks again!
I guess I better put my glasses back on.

HF

"Bob Phillips" wrote:

If you select B1:D5 as I originally stated, it will apply to al cells, and
so the 4 below are formatted as well

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Howard" wrote in message
...
Thanks!
Yes, it has a real date (mmm-yy). That did highlight the current month.

Is
there a way to have the four cells immediately below the cell with the
current month also highlighted? Those cells would have numbers.

Howard

"Bob Phillips" wrote:

BTW, I assume that B1:D1 have a real date, not just text. If it is text,

try
a formula of

=PROPER(LEFT(B$1,3))=TEXT(TODAY(),"mmm")


--

HTH

RP
(remove nothere from the email address if mailing direct)


"Bob Phillips" wrote in message
...
Use conditional formatting

Select B1:D5
FormatConditional Formatting
Change Condition1 to Formula Is
Add a formula of =MONTH(B$1)=MONTH(TODAY())
Click Format
Select the pattern tab
Select a colour

--

HTH

RP
(remove nothere from the email address if mailing direct)


"Howard" wrote in message
...
Cells B1:D1 have a date format: Jan-05, Feb-05, Mar-05 (mmm-yy). If

the
month
is the current month, I would like to have that month and the four

cells
immediately below that month highlighed. For example, since March is

the
current month, I would like cells D1:D5 highlighted. The

highlighting
would
roll automatically based on the current month.

Thanks,
--
Howard

Howard








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
identifying current month Sue Charts and Charting in Excel 2 February 19th 05 07:42 PM
Current Month Query Sunshinegm Excel Worksheet Functions 1 February 15th 05 01:41 AM
Add one month to the previuos month heater Excel Discussion (Misc queries) 5 February 10th 05 12:33 AM
Month Year Date Format Jamie Excel Worksheet Functions 2 February 7th 05 06:43 PM
UserForm to select current month or earlier Steve Excel Discussion (Misc queries) 2 January 21st 05 09:41 PM


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