PC Review


Reply
Thread Tools Rate Thread

Conditional formating on text starts with "tot"

 
 
Mr. Smith
Guest
Posts: n/a
 
      14th Sep 2005
Hi.
Is it possible to set conditional formating in all cells which starts with
"Tot.", as in "Tot. Product 1", "Tot. Product 2". I only find number
statements in the Conditional formating dialoge and not "If cell begins
with....."

Any ideas?

Mr. Smith


 
Reply With Quote
 
 
 
 
Bob Phillips
Guest
Posts: n/a
 
      14th Sep 2005
Change the condition to Formula Is and use a formula of

=LEFT(A1,4)="Tot."

--
HTH

Bob Phillips

"Mr. Smith" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi.
> Is it possible to set conditional formating in all cells which starts with
> "Tot.", as in "Tot. Product 1", "Tot. Product 2". I only find number
> statements in the Conditional formating dialoge and not "If cell begins
> with....."
>
> Any ideas?
>
> Mr. Smith
>
>



 
Reply With Quote
 
Dave Peterson
Guest
Posts: n/a
 
      14th Sep 2005
Another option...
=countif(a1,"tot.*")>0
(with A1 the cell getting the format|conditional formatting.)

What's nice about this style is you can look for the string anywhere in the
cell:

=countif(a1,"*duct*")>0
will look for duct anywhere in A1

=countif(a1,"* 1")>0
will look for for the final 2 characters of A1 as spacebar, one.



"Mr. Smith" wrote:
>
> Hi.
> Is it possible to set conditional formating in all cells which starts with
> "Tot.", as in "Tot. Product 1", "Tot. Product 2". I only find number
> statements in the Conditional formating dialoge and not "If cell begins
> with....."
>
> Any ideas?
>
> Mr. Smith


--

Dave Peterson
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
"Conditional Formating" function grayed out Kevin Microsoft Excel Misc 2 29th May 2009 11:11 PM
Formating numbers &"Text" to appear as currency &"Text" in formula =?Utf-8?B?Um9iaW4gSy4=?= Microsoft Excel Misc 6 7th May 2007 02:03 PM
Conditional formating v. "The expression you entered has a field ... that access can't recognize" Malcolm Cook Microsoft Access Form Coding 3 25th Jun 2004 02:11 AM
Conditional Formating based on a "S" All Star Microsoft Excel Discussion 4 8th Jun 2004 08:54 PM
Conditional Formating for "Stale" Cheques. Matthew Microsoft Excel Worksheet Functions 1 6th Sep 2003 12:49 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:31 AM.