highlighted every time a letter or word is entered

zeeman84

New Member
Joined
Feb 3, 2021
Messages
3
Office Version
  1. 2010
Platform
  1. Windows
I would like to have the cells in A column highlighted every time a letter or word is entered apart from the letters b, k and also if there are blank cells they should be ignored. Please note i do not know VBA coding please help me some one.

k
b
b3
e
k
k1
b
kk
k
v2
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
this may work
=IFERROR(SEARCH("B",A2,1),IFERROR(SEARCH("K",A2,1),0))
searching for a B/b or a K/k anywhere in the cell

Book1
AB
20
3fredb5
40
510
60
70
8k1
90
100
110
120
Sheet1
Cell Formulas
RangeFormula
B2:B12B2=IFERROR(SEARCH("B",A2,1),IFERROR(SEARCH("K",A2,1),0))
Cells with Conditional Formatting
CellConditionCell FormatStop If True
A2:A18Expression=IFERROR(SEARCH("B",A2,1),IFERROR(SEARCH("K",A2,1),0))textNO
 
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,550
Members
449,088
Latest member
davidcom

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