Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Conditional Formatting of cells containing text

Hi!
In Excel 2003, I have a column looking like this:

CORP-SOP-0012
CORP-WI-0123
CORP-SOP-0034
CORP-WI-0165

How can I make all the cells beginning with "CORP-SOP" one colour and all
the cells beginning with "CORP-WI" another?

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,520
Default Conditional Formatting of cells containing text

1. Suppose the data is in Column A. Select Column A.

2. From menu FormatConditional Formatting

3. For Condition1Select 'Formula Is' and enter the below formula
=FIND("CORP-WI",A1)

Click Format ButtonPattern and select your color (say Red)

4. Click on Add button.

5. For Condition2Select 'Formula Is' and enter the below formula

=FIND("CORP-SOP",A1)

6. Hit OK

If this post helps click Yes
---------------
Jacob Skaria


"Elin" wrote:

Hi!
In Excel 2003, I have a column looking like this:

CORP-SOP-0012
CORP-WI-0123
CORP-SOP-0034
CORP-WI-0165

How can I make all the cells beginning with "CORP-SOP" one colour and all
the cells beginning with "CORP-WI" another?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 9,101
Default Conditional Formatting of cells containing text

You need two conditions with each condition using FORMULA IS

=LEFT(A8,9)="CORP-SOP-"

=LEFT(A8,8)="CORP-WI-"



"Elin" wrote:

Hi!
In Excel 2003, I have a column looking like this:

CORP-SOP-0012
CORP-WI-0123
CORP-SOP-0034
CORP-WI-0165

How can I make all the cells beginning with "CORP-SOP" one colour and all
the cells beginning with "CORP-WI" another?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 3
Default Conditional Formatting of cells containing text

Thank you for putting me on track, it did not exactly work. I had to use this
formula to make it work correctly:

=LEFT(A1;9)="CORP-SOP-"

But that was just a small matter of trial and error :-)

Thanks!
Elin

"Joel" wrote:

You need two conditions with each condition using FORMULA IS

=LEFT(A8,9)="CORP-SOP-"

=LEFT(A8,8)="CORP-WI-"



"Elin" wrote:

Hi!
In Excel 2003, I have a column looking like this:

CORP-SOP-0012
CORP-WI-0123
CORP-SOP-0034
CORP-WI-0165

How can I make all the cells beginning with "CORP-SOP" one colour and all
the cells beginning with "CORP-WI" another?

  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 8,651
Default Conditional Formatting of cells containing text

Format/Conditional Formatting/ Formula Is (not cell value is)/
=LEFT(A2,8)="CORP-SOP" choose your first colour
Add/ Formula Is / =LEFT(A2,7)="CORP-WI" choose your second colour
--
David Biddulph

"Elin" wrote in message
...
Hi!
In Excel 2003, I have a column looking like this:

CORP-SOP-0012
CORP-WI-0123
CORP-SOP-0034
CORP-WI-0165

How can I make all the cells beginning with "CORP-SOP" one colour and all
the cells beginning with "CORP-WI" another?





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 formatting based on text status of 3 cells Sandy82 Excel Discussion (Misc queries) 5 March 8th 09 04:33 PM
Formatting cells in a column with conditional formatting? shamor Excel Discussion (Misc queries) 8 May 19th 08 10:11 PM
Conditional Formatting in for Cells with Mixed Dates and Text M. A. Newcomb Excel Worksheet Functions 1 May 8th 07 10:05 PM
Conditional Formatting based on text within a cell w/ text AND num Shirley Excel Worksheet Functions 2 December 22nd 06 01:40 AM
conditional formatting on specific text in cells kwkhoo Excel Discussion (Misc queries) 3 June 21st 05 04:27 PM


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