conditional formatting

tanny81

Board Regular
Joined
Mar 2, 2006
Messages
175
Hi,

I am hoping somebody can help with the following. Essentially i want to use conditional formatting to highlight text where the cell value begins IE. If anybody could point me in the right direction with this it would be greatly appreciated.

Thanks.
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Select your range

Go to Format|Conditional Formatting

Choose Formula is from 1st drop down

enter =Left(A1,2)="IE" (where A1 is the top left-most cell in your selected range)

Click Format and choose your color scheme

Click Ok

Click Ok.
 
Upvote 0
firstly select the first cell you wish to apply this formatting to, select conditional formatting and select for condition 1 "formula is" and type the following assuming cell A1,

=LEFT(A3,2)="IE"

then select the formatting you require

you can then use the format painter, paint brush icon to apply this to other cells, select say A1, double click on brush, then apply to all other cells, and click on brush when finished
 
Upvote 0
Hi,

Thanks for the replies, in addtion to the above, is it also possible to amend the formula so that if for example cell E1 contained the word YES it wouldn't apply the formatting, but if E1 contained any other word it would still be applied?
 
Upvote 0
all you need to do is extend your previous formula to

=AND(LEFT(A1,2)="IE",E1<>"YES")
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,818
Members
449,049
Latest member
cybersurfer5000

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top