Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
TW
 
Posts: n/a
Default Conditional formatting of text in a shared workbook.

My work group shares a simple spreadsheet to track the work (journals) we get
in daily. There are certain journals (100 total) that have priority and need
the font to be formatted red. There are other journals (20 or so) that also
have priority and need the font to be formatted green. All new work is
entered in Column B. How do I set conditional formatting for if this field is
"journal a" or "journal b" etc, then color = red and then a separate
condition that if this field is "journal c" or "journal d" etc., then color =
green. Also, if a value falls under both "red' and "green," then "green"
should take priority, and the text should be formatted green. I have a little
programming experience, but it's been at least 5 years or more. Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
tjtjjtjt
 
Posts: n/a
Default Conditional formatting of text in a shared workbook.

Perhaps someone can simplify this for you, but it works. This assumes that
the important journals have the same name day to day.

For condition one:
=NOT(ISNA(VLOOKUP(A1,$H$1:H$4,1,0)))
Where H1:H4 is a list of all the entries you want to appear green. You will
need a longer list for you data. This example assumes the first list item
you want to check is in Cell A1 - change it to the first cell that contains a
"journal" name. Don't foget to choose the appropirate formatting.

For condition 2:
=NOT(ISNA(VLOOKUP(A1,$F$1:$F$3,1,0)))
Same as above, except for F1:F3 represents all the values that should appear
in red. Again, don't forget to set the formatting.

Condition 1 will always take precedence over condition 2, so green would
always win.

--
tj


"TW" wrote:

My work group shares a simple spreadsheet to track the work (journals) we get
in daily. There are certain journals (100 total) that have priority and need
the font to be formatted red. There are other journals (20 or so) that also
have priority and need the font to be formatted green. All new work is
entered in Column B. How do I set conditional formatting for if this field is
"journal a" or "journal b" etc, then color = red and then a separate
condition that if this field is "journal c" or "journal d" etc., then color =
green. Also, if a value falls under both "red' and "green," then "green"
should take priority, and the text should be formatted green. I have a little
programming experience, but it's been at least 5 years or more. Thanks!

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
Protect Workbook vs Worksheet?? Dan B Excel Worksheet Functions 3 November 7th 05 09:02 PM
using forms in a shared workbook Dan23 Excel Worksheet Functions 3 August 9th 05 03:31 PM
How do I apply conditional formatting to a text box barneshere Excel Worksheet Functions 1 May 27th 05 06:26 PM
Conditional Formatting based on Text within Text George Lynch Excel Discussion (Misc queries) 3 May 5th 05 07:58 PM
Determine cells that drive conditional formatting? Nicolle K. Excel Discussion (Misc queries) 2 January 7th 05 01:08 AM


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