Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Worksheet macro conditional format question

I have a worksheet that each week I copy & paste a list of 40 set names in
varying order each week. Each week I add the current weeks list to the
existing sheet. I now have 14 weeks of data in this worksheet.

How can I highlight (change cell format) a specific name each place it
appears on this worksheet. (Each entry for the 14 weeks highlighted)

Can this be done with a worksheet macro.


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3,346
Default Worksheet macro conditional format question

Hi,

Suppose the data is in column A you could enter the name you want
highlighted in D1 and then apply the following conditional format:

To conditionally format your cell(s):

In 2003:
1. Select the cells you want to format, say A2:A100
2. Choose Format, Conditional Formatting
3. Choose Formula is from the first drop down
4. In the second box enter the formula:
=A2=$D$1
5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.

In 2007:
1. Highlight all the cells on the rows you want formatted
2. Choose Home, Conditional Formatting, New Rule
3. Choose Use a formula to determine which cell to format
4. In the Format values where this formula is true enter the following
formula:
=A2=$D$1
5. Click the Format button and choose a format.
6. Click OK twice
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Dingy101" wrote:

I have a worksheet that each week I copy & paste a list of 40 set names in
varying order each week. Each week I add the current weeks list to the
existing sheet. I now have 14 weeks of data in this worksheet.

How can I highlight (change cell format) a specific name each place it
appears on this worksheet. (Each entry for the 14 weeks highlighted)

Can this be done with a worksheet macro.


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,203
Default Worksheet macro conditional format question

Shane - that weird entryh I had in another discussion? It was supposed to
have been attached to this one! Looks like we were thinking on the same
lines regarding this one -- your "D1" cell is what I was referring to when I
said "do you have a spare cell handy" or whatever.

"Shane Devenshire" wrote:

Hi,

Suppose the data is in column A you could enter the name you want
highlighted in D1 and then apply the following conditional format:

To conditionally format your cell(s):

In 2003:
1. Select the cells you want to format, say A2:A100
2. Choose Format, Conditional Formatting
3. Choose Formula is from the first drop down
4. In the second box enter the formula:
=A2=$D$1
5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.

In 2007:
1. Highlight all the cells on the rows you want formatted
2. Choose Home, Conditional Formatting, New Rule
3. Choose Use a formula to determine which cell to format
4. In the Format values where this formula is true enter the following
formula:
=A2=$D$1
5. Click the Format button and choose a format.
6. Click OK twice
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Dingy101" wrote:

I have a worksheet that each week I copy & paste a list of 40 set names in
varying order each week. Each week I add the current weeks list to the
existing sheet. I now have 14 weeks of data in this worksheet.

How can I highlight (change cell format) a specific name each place it
appears on this worksheet. (Each entry for the 14 weeks highlighted)

Can this be done with a worksheet macro.


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 23
Default Worksheet macro conditional format question

I have three names that I would like to highlight at the same time. (Should
have mentioned this on original post, sorry)

Your answer will do one at a time it seems.

Is there a way to do multiples?

Thank You
Gary

"Shane Devenshire" wrote:

Hi,

Suppose the data is in column A you could enter the name you want
highlighted in D1 and then apply the following conditional format:

To conditionally format your cell(s):

In 2003:
1. Select the cells you want to format, say A2:A100
2. Choose Format, Conditional Formatting
3. Choose Formula is from the first drop down
4. In the second box enter the formula:
=A2=$D$1
5. Click the Format button
6. Choose a color on the Patterns tab (or any available option)
7. Click OK twice.

In 2007:
1. Highlight all the cells on the rows you want formatted
2. Choose Home, Conditional Formatting, New Rule
3. Choose Use a formula to determine which cell to format
4. In the Format values where this formula is true enter the following
formula:
=A2=$D$1
5. Click the Format button and choose a format.
6. Click OK twice
--
If this helps, please click the Yes button.

Cheers,
Shane Devenshire


"Dingy101" wrote:

I have a worksheet that each week I copy & paste a list of 40 set names in
varying order each week. Each week I add the current weeks list to the
existing sheet. I now have 14 weeks of data in this worksheet.

How can I highlight (change cell format) a specific name each place it
appears on this worksheet. (Each entry for the 14 weeks highlighted)

Can this be done with a worksheet macro.


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 format question.. simon steel Excel Worksheet Functions 6 February 12th 08 09:02 PM
Conditional Format Question Kevin Excel Discussion (Misc queries) 4 June 19th 07 04:26 AM
Another Conditional Format Question PT New Users to Excel 3 April 29th 07 02:42 AM
Conditional Format Question PT New Users to Excel 1 April 28th 07 03:55 AM
Conditional format question [email protected] Excel Discussion (Misc queries) 7 September 16th 05 04:15 PM


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