Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How to conditional format columns in a range based on

I have a spreadsheet that has many columns, essential I have a header
for a group of three columns which is a merge of three column cells to
make one cell and has a date (01/01/08) in it formatted to "mmm/yy". I
want to apply a conditional format tot the merged cells within the
range that has the current month in it. here is an example of what I
have:

Starts in column E2 on Row 2
(I want to highlight the merged cells that equal the current month
based on date in $A$1
‚€€€€€€€€€€€€€ˆ€€€€€€€€€€€€€ˆ€
Jan-08 Feb-08 -------
Dec-08
†€€ˆ€€€€ˆ€€€€€Š€€ˆ€€€€ˆ€€€€€Š€
HrsEmps # Jobs HrsEmps # Jobs
„€€‰€€€€‰€€€€€‰€€‰€€€€‰€€€€€

Thanks, sorry about the crude drawing. but wanted to make sure it was
understood.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default How to conditional format columns in a range based on

Select row 1, apply CF with the "Formula is" option, and the formula

=MONTH(A1)=MONTH(NOW())


HTH,
Bernie
MS Excel MVP


"BlyChris" wrote in message
...
I have a spreadsheet that has many columns, essential I have a header
for a group of three columns which is a merge of three column cells to
make one cell and has a date (01/01/08) in it formatted to "mmm/yy". I
want to apply a conditional format tot the merged cells within the
range that has the current month in it. here is an example of what I
have:

Starts in column E2 on Row 2
(I want to highlight the merged cells that equal the current month
based on date in $A$1
‚€€€€€€€€€€€€€ˆ€€€€€€€€€€€€€ˆ€
Jan-08 Feb-08 -------
Dec-08
†€€ˆ€€€€ˆ€€€€€Š€€ˆ€€€€ˆ€€€€€Š€
HrsEmps # Jobs HrsEmps # Jobs
„€€‰€€€€‰€€€€€‰€€‰€€€€‰€€€€€

Thanks, sorry about the crude drawing. but wanted to make sure it was
understood.


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 5,441
Default How to conditional format columns in a range based on

Or, upon further reading, select row 2, and use the formula is option with

=MONTH(A2)=MONTH($A$1)

HTH,
Bernie
MS Excel MVP


"BlyChris" wrote in message
...
I have a spreadsheet that has many columns, essential I have a header
for a group of three columns which is a merge of three column cells to
make one cell and has a date (01/01/08) in it formatted to "mmm/yy". I
want to apply a conditional format tot the merged cells within the
range that has the current month in it. here is an example of what I
have:

Starts in column E2 on Row 2
(I want to highlight the merged cells that equal the current month
based on date in $A$1
‚€€€€€€€€€€€€€ˆ€€€€€€€€€€€€€ˆ€
Jan-08 Feb-08 -------
Dec-08
†€€ˆ€€€€ˆ€€€€€Š€€ˆ€€€€ˆ€€€€€Š€
HrsEmps # Jobs HrsEmps # Jobs
„€€‰€€€€‰€€€€€‰€€‰€€€€‰€€€€€

Thanks, sorry about the crude drawing. but wanted to make sure it was
understood.


  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to conditional format columns in a range based on

Let's see if I understand what your layout is like.

E2:G2 = merged cells = date formatted as Jan/yy
H2:J2 = merged cells = date formatted as Feb/yy
K2:M2 = merged cells = date formatted as Mar/yy
...
AL2:AN2 = merged cells = date formatted as Dec/yy

If that's the case selct the range E2:AL2
Goto the menu FormatConditional Formatting
Select the Formula Is option
Enter this formula in the little box on the right:

=AND(COUNT($A1,E2)=2,MONTH(E2)=MONTH($A1))

Click the Format button
Select the desired style(s)
OK out


--
Biff
Microsoft Excel MVP


"BlyChris" wrote in message
...
I have a spreadsheet that has many columns, essential I have a header
for a group of three columns which is a merge of three column cells to
make one cell and has a date (01/01/08) in it formatted to "mmm/yy". I
want to apply a conditional format tot the merged cells within the
range that has the current month in it. here is an example of what I
have:

Starts in column E2 on Row 2
(I want to highlight the merged cells that equal the current month
based on date in $A$1
‚€€€€€€€€€€€€€ˆ€€€€€€€€€€€€€ˆ€
Jan-08 Feb-08 -------
Dec-08
†€€ˆ€€€€ˆ€€€€€Š€€ˆ€€€€ˆ€€€€€Š€
HrsEmps # Jobs HrsEmps # Jobs
„€€‰€€€€‰€€€€€‰€€‰€€€€‰€€€€€

Thanks, sorry about the crude drawing. but wanted to make sure it was
understood.


  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2
Default How to conditional format columns in a range based on

Thanks! It Worked. I don't know why I could not figure that out, I
tried everything but that. I guess I was not thinking the right way.

Here is where you can see the example:
http://spreadsheets.google.com/pub?k...GbOLC1KcztYZJw

Chris


On Jul 24, 12:58*pm, "T. Valko" wrote:
Let's see if I understand what your layout is like.

E2:G2 = merged cells = date formatted as Jan/yy
H2:J2 = merged cells = date formatted as Feb/yy
K2:M2 = merged cells = date formatted as Mar/yy
..
AL2:AN2 = merged cells = date formatted as Dec/yy

If that's the case selct the range E2:AL2
Goto the menu FormatConditional Formatting
Select the Formula Is option
Enter this formula in the little box on the right:

=AND(COUNT($A1,E2)=2,MONTH(E2)=MONTH($A1))

Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP

"BlyChris" wrote in message

...
I have a spreadsheet that has many columns, essential I have a header
for a group of three columns which is a merge of three column cells to
make one cell and has a date (01/01/08) in it formatted to "mmm/yy". I
want to apply a conditional format tot the merged cells within the
range that has the current month in it. here is an example of what I
have:

Starts in column E2 on Row 2
*(I want to highlight the merged cells that equal the current month
based on date in $A$1
‚€€€€€€€€€€€€€ˆ€€€€€€€€€€€€€ˆ€
* * * * *Jan-08 * * * * * * * * * *Feb-08 * * * * * * *-------
Dec-08
†€€ˆ€€€€ˆ€€€€€Š€€ˆ€€€€ˆ€€€€€Š€
*Hrs Emps *# Jobs * Hrs Emps *# Jobs *
„€€‰€€€€‰€€€€€‰€€‰€€€€‰€€€€€

Thanks, sorry about the crude drawing. but wanted to make sure it was
understood.




  #6   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15,768
Default How to conditional format columns in a range based on

You're welcome. Thanks for the feedback!

--
Biff
Microsoft Excel MVP


"BlyChris" wrote in message
...
Thanks! It Worked. I don't know why I could not figure that out, I
tried everything but that. I guess I was not thinking the right way.

Here is where you can see the example:
http://spreadsheets.google.com/pub?k...GbOLC1KcztYZJw

Chris


On Jul 24, 12:58 pm, "T. Valko" wrote:
Let's see if I understand what your layout is like.

E2:G2 = merged cells = date formatted as Jan/yy
H2:J2 = merged cells = date formatted as Feb/yy
K2:M2 = merged cells = date formatted as Mar/yy
..
AL2:AN2 = merged cells = date formatted as Dec/yy

If that's the case selct the range E2:AL2
Goto the menu FormatConditional Formatting
Select the Formula Is option
Enter this formula in the little box on the right:

=AND(COUNT($A1,E2)=2,MONTH(E2)=MONTH($A1))

Click the Format button
Select the desired style(s)
OK out

--
Biff
Microsoft Excel MVP

"BlyChris" wrote in message

...
I have a spreadsheet that has many columns, essential I have a header
for a group of three columns which is a merge of three column cells to
make one cell and has a date (01/01/08) in it formatted to "mmm/yy". I
want to apply a conditional format tot the merged cells within the
range that has the current month in it. here is an example of what I
have:

Starts in column E2 on Row 2
(I want to highlight the merged cells that equal the current month
based on date in $A$1
‚€€€€€€€€€€€€€ˆ€€€€€€€€€€€€€ˆ€
Jan-08 Feb-08 -------
Dec-08
†€€ˆ€€€€ˆ€€€€€Š€€ˆ€€€€ˆ€€€€€Š€
Hrs Emps # Jobs Hrs Emps # Jobs
„€€‰€€€€‰€€€€€‰€€‰€€€€‰€€€€€

Thanks, sorry about the crude drawing. but wanted to make sure it was
understood.



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 Result based on Multiple Columns AnnArborBrian Excel Worksheet Functions 6 May 10th 08 02:29 PM
Conditional format a cell based on another range of cells ked Excel Worksheet Functions 4 January 9th 07 06:44 PM
Conditional Format based on range Dave Excel Discussion (Misc queries) 3 June 5th 06 06:15 AM
Conditional formatting based on date range RGB Excel Discussion (Misc queries) 3 May 23rd 06 05:37 PM
how do i format a cell based on format of a range of cells? Chris Hardick Excel Discussion (Misc queries) 2 April 3rd 06 08:54 AM


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