ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel 2003 (https://www.excelbanter.com/excel-discussion-misc-queries/216319-excel-2003-a.html)

Stepha

Excel 2003
 
I want to have a field autofill with color if the letters MR or SR are
somewhere in the cell. I can not figure it out.

Otto Moehrbach[_2_]

Excel 2003
 
Look up Conditional Formatting in Help. HTH Otto
"Stepha" wrote in message
...
I want to have a field autofill with color if the letters MR or SR are
somewhere in the cell. I can not figure it out.




John[_22_]

Excel 2003
 
HI Stepha
Select the range you would like to format then go to FormatConditional
Formatting
change " Cell Value is " to " Formula is " next box copy this formula
=OR(--(A2="mr"),OR(--(A2="sr"))). This formula assume that the first cell in
your range is A2 change it to your needs then press Format and Pattern and
choose your colour.
HTH
John
"Stepha" wrote in message
...
I want to have a field autofill with color if the letters MR or SR are
somewhere in the cell. I can not figure it out.



David Biddulph[_2_]

Excel 2003
 
I'm note quite sure what you are trying to do with your two OR functions and
the two double unary minuses, John, but why
=OR(--(A2="mr"),OR(--(A2="sr")))
and not just
=OR(A2="mr",A2="sr") ?
--
David Biddulph

John wrote:
HI Stepha
Select the range you would like to format then go to
FormatConditional Formatting

change " Cell Value is " to " Formula is " next box copy this formula
=OR(--(A2="mr"),OR(--(A2="sr"))). This formula assume that the first
cell in your range is A2 change it to your needs then press Format
and Pattern and choose your colour.
HTH
John
"Stepha" wrote in message
...
I want to have a field autofill with color if the letters MR or SR
are somewhere in the cell. I can not figure it out.





John[_22_]

Excel 2003
 
HI David
Just not taking the time to think maybe going to fast.
Thanks
"David Biddulph" <groups [at] biddulph.org.uk wrote in message
...
I'm note quite sure what you are trying to do with your two OR functions
and the two double unary minuses, John, but why
=OR(--(A2="mr"),OR(--(A2="sr")))
and not just
=OR(A2="mr",A2="sr") ?
--
David Biddulph

John wrote:
HI Stepha
Select the range you would like to format then go to
FormatConditional Formatting

change " Cell Value is " to " Formula is " next box copy this formula
=OR(--(A2="mr"),OR(--(A2="sr"))). This formula assume that the first
cell in your range is A2 change it to your needs then press Format
and Pattern and choose your colour.
HTH
John
"Stepha" wrote in message
...
I want to have a field autofill with color if the letters MR or SR
are somewhere in the cell. I can not figure it out.







All times are GMT +1. The time now is 05:41 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com