Conditional Formatting

Mister H

Well-known Member
Joined
Mar 6, 2002
Messages
1,507
Hi All:

I am trying to set up Conditional Formatting in cell A10 so that if the first 20 letters in Cell A10 = Returned to sender o then make the font Red

so in cell A10 I tried setting the Conditional Formatting formula as:

=LEFT(A10,20)="Returned to sender o"

that didn't seem to work so I tried

=LEFT(20)="Returned to sender o"

That didn't work. Is there a formula I can use in Conditional Formatting?

I have code that I can use but I would like to just set this up in Conditional Formatting if possible.

THANKS,
Mark
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650
Hi. Working here with a different count

Excel Workbook
AB
10Return to sender otherwise26
Sheet3
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A101. / Formula is =LEFT(A10,18)="Return to sender o"Abc
 
Upvote 0

Mister H

Well-known Member
Joined
Mar 6, 2002
Messages
1,507
Hi Peter:

I am not sure why that was not workinng for me (prior to posting) but it seems to work now :confused:

THANKS for your help AGAIN :biggrin:

Bye 4 Now,
Mark
 
Upvote 0

MrBill11

Board Regular
Joined
Mar 21, 2011
Messages
119
Mister H
in Excel 2007 go to Conditional Formatting on the ribbon, Highlight Cells Rules, More Rules, Format Only Cells That Contain, Cell Value = Specific Text, Containing " Return To Sender, Format, Font, select color
 
Upvote 0

Forum statistics

Threads
1,190,652
Messages
5,982,124
Members
439,756
Latest member
alice128

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
Top