Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
example, in certain column, need to find all records which contain M.D. or MD
or M.D, etc |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
You could use Conditional Formatting to highlight these cells.
Select your Column From the Format Menu, choose "Conditional Formatting..." Change "Cell Value Is" to "Formula Is" Enter the formula: =FIND("MD",SUBSTITUTE(A1,".","")) Set your format (red background perhaps?) Click OK That should do it. HTH, Elkar "Pam Deshazier, SRHS" wrote: example, in certain column, need to find all records which contain M.D. or MD or M.D, etc |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
try this where your column is col b in sheet2
Sub findmd() myword = Array("MD", "M.D") For Each cel In myword With Worksheets(2).Columns(2) Set c = .Find(cel, LookIn:=xlValues, lookat:=xlPart) If Not c Is Nothing Then firstAddress = c.Address Do MsgBox c.Address Set c = .FindNext(c) Loop While Not c Is Nothing And c.Address < firstAddress End If End With Next cel End Sub -- Don Guillett SalesAid Software "Pam Deshazier, SRHS" wrote in message ... example, in certain column, need to find all records which contain M.D. or MD or M.D, etc |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
where to put results of find operation in find and replace functio | Excel Worksheet Functions | |||
How can I fill a series in Nonadjacent cells eg Text 1, Text 2 | Excel Discussion (Misc queries) | |||
Text entries behaving like numbers | Excel Discussion (Misc queries) | |||
Linked cells and text boxes | Excel Discussion (Misc queries) | |||
Cells formated as text do not always display properly | Excel Discussion (Misc queries) |