Conditional Format - 2 or more letters but not numbers

Double99

New Member
Joined
Jul 11, 2011
Messages
29
Hi,

I wondering if someone could help me.

Is there a conditional format that will highlight a Cell that has two or more letters within it, but NOT numbers.

Example...

Letter 'A' - No format
Letters 'AS' - FOrmat
Number '1' - No format
Number '11' No format

I know the Formular for two or more characters [=LEN(A1)>=2] but I'm not sure if you can define the difference between numbers and letters.

Many Thanks

Cris
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).
How about the ISTEXT function?

Combine that with LEN, and you get:

=AND(ISTEXT(A1),LEN(A1)=2)

That will check A1 is text and has 2 characters.

Doesn't take into account numbers entered as text or the case of the letters.
 
Upvote 0
This works for me:

=AND(AND(ISERROR(SEARCH({1,2,3,4,5,6,7,8,9,0},A1))),LEN(A1)>=2)

EDIT: This applies no format to "A2B" because it contains a number. I assumed that this is your intention, let me know if it's not.
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,521
Messages
6,179,286
Members
452,902
Latest member
Knuddeluff

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