Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
serene83
 
Posts: n/a
Default HELP on conditional formatting


I have a problem below that need to use "len" function.

How do you highlight all cells that have a two-letter string in yellow,
for example, AB, BB with yellow color by using conditional formatting
(Under Format menu).

ABC
BCA
AB
AA
BB
ACB
ABC
ABC
BA
CBA

Thanks


--
serene83
------------------------------------------------------------------------
serene83's Profile: http://www.excelforum.com/member.php...o&userid=35778
View this thread: http://www.excelforum.com/showthread...hreadid=555902

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dav
 
Posts: n/a
Default HELP on conditional formatting


Use conditional formating, formula is and if the cell is a3
=LEN(A3)=2

Then format as Yellow as a colour

Regards

Dav


--
Dav
------------------------------------------------------------------------
Dav's Profile: http://www.excelforum.com/member.php...o&userid=27107
View this thread: http://www.excelforum.com/showthread...hreadid=555902

  #3   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default HELP on conditional formatting

Just use CF with Formula Is and a formula of =LEN(A2)=2

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"serene83" wrote in
message ...

I have a problem below that need to use "len" function.

How do you highlight all cells that have a two-letter string in yellow,
for example, AB, BB with yellow color by using conditional formatting
(Under Format menu).

ABC
BCA
AB
AA
BB
ACB
ABC
ABC
BA
CBA

Thanks


--
serene83
------------------------------------------------------------------------
serene83's Profile:

http://www.excelforum.com/member.php...o&userid=35778
View this thread: http://www.excelforum.com/showthread...hreadid=555902



  #4   Report Post  
Posted to microsoft.public.excel.misc
Stefi
 
Posts: n/a
Default HELP on conditional formatting

Assuming your data start in cell A2, select range A2:An (as necessary), in
Conditional formatting dialog choose formula as condition and enter this
formula:

=LEN(A2)=2

and set yellow color, then press OK!

Regards,
Stefi


€˛serene83€¯ ezt Ć*rta:


I have a problem below that need to use "len" function.

How do you highlight all cells that have a two-letter string in yellow,
for example, AB, BB with yellow color by using conditional formatting
(Under Format menu).

ABC
BCA
AB
AA
BB
ACB
ABC
ABC
BA
CBA

Thanks


--
serene83
------------------------------------------------------------------------
serene83's Profile: http://www.excelforum.com/member.php...o&userid=35778
View this thread: http://www.excelforum.com/showthread...hreadid=555902


  #5   Report Post  
Posted to microsoft.public.excel.misc
serene83
 
Posts: n/a
Default HELP on conditional formatting


I have try it but unable to get the desirable ans.

ABC
BCA
AB
AA
BB
ACB
ABC
ABC
BA
CBA

I highlight the whole data and go to conditional formatting and use
"formula is" =LEN(A3)=2 since A3 is AB. But the answer i got are only
BCA and AB is being highlighted, not the all the two-letter string
like BB AA. Please advise. Thanks.


--
serene83
------------------------------------------------------------------------
serene83's Profile: http://www.excelforum.com/member.php...o&userid=35778
View this thread: http://www.excelforum.com/showthread...hreadid=555902



  #6   Report Post  
Posted to microsoft.public.excel.misc
Bob Phillips
 
Posts: n/a
Default HELP on conditional formatting

No, when you highlight them all, as the first cell is A1, use

=LEN(A1)=2

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"serene83" wrote in
message ...

I have try it but unable to get the desirable ans.

ABC
BCA
AB
AA
BB
ACB
ABC
ABC
BA
CBA

I highlight the whole data and go to conditional formatting and use
"formula is" =LEN(A3)=2 since A3 is AB. But the answer i got are only
BCA and AB is being highlighted, not the all the two-letter string
like BB AA. Please advise. Thanks.


--
serene83
------------------------------------------------------------------------
serene83's Profile:

http://www.excelforum.com/member.php...o&userid=35778
View this thread: http://www.excelforum.com/showthread...hreadid=555902



  #7   Report Post  
Posted to microsoft.public.excel.misc
Fingerjob
 
Posts: n/a
Default HELP on conditional formatting

If the first cell is A1 "ABC". Type =LEN(A1)=2 when the whole daterange is
selected.
It works like a charm.


serene83 skrev:


I have try it but unable to get the desirable ans.

ABC
BCA
AB
AA
BB
ACB
ABC
ABC
BA
CBA

I highlight the whole data and go to conditional formatting and use
"formula is" =LEN(A3)=2 since A3 is AB. But the answer i got are only
BCA and AB is being highlighted, not the all the two-letter string
like BB AA. Please advise. Thanks.


--
serene83
------------------------------------------------------------------------
serene83's Profile: http://www.excelforum.com/member.php...o&userid=35778
View this thread: http://www.excelforum.com/showthread...hreadid=555902


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 when inserting a row zahoulik Excel Worksheet Functions 2 January 7th 06 03:01 PM
Conditional formatting : amount of decimals belgian11 Excel Discussion (Misc queries) 0 December 25th 05 04:47 PM
Conditional Formatting Error ddate Excel Worksheet Functions 0 May 5th 05 09:00 PM
difficulty with conditional formatting Deb Excel Discussion (Misc queries) 0 March 23rd 05 06:13 PM
Conditional formatting not available in Excel BAB Excel Discussion (Misc queries) 2 January 1st 05 03:33 PM


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