Does this work:
Code:
=IF(LEN(A2)<1,"EMPTY",(IF(ISNUMBER(SEARCH(LEFT(A2,FIND(" ",A2)-1),B2)),"Match","No-Match")))
No, it doesn't for some reason. I wish I could tell you on which types of data it works which others don't, but i can't seem to see a pattern to give you.
Here's some sample data to use. Obviously the code changes slightly in this example. I would want to test to see if the FIRST WORD of Cell B2 is or is not included in cell D2.
<style type="text/css">
table.tableizer-table {border: 1px solid #CCC; font-family: Arial, Helvetica, sans-serif; font-size: 12px;} .tableizer-table td {padding: 4px; margin: 3px; border: 1px solid #ccc;}
.tableizer-table th {background-color: #104E8B; color: #FFF; font-weight: bold;}
</style>
<table class="tableizer-table">
<tr class="tableizer-firstrow"><th>A</th><th>B</th><th>C</th><th>D</th><th>E</th></tr> <tr><td>1</td><td>First</td><td>Last</td><td>Parties</td><td>Match?</td></tr> <tr><td>2</td><td>Terry & Julia</td><td>Jones</td><td>JONES, TERRY, J; JONES, JULIA, A</td><td>No-Match</td></tr> <tr><td>3</td><td>Robert & Brenda</td><td>Smith</td><td>SMITH, BRENDA; SMITH, BRENDA, B; SMITH, ROBERT, G; METRO GOVERNMENT; CAPITAL SOURCE BANK; AEON FINANCIAL LLC</td><td>No-Match</td></tr> <tr><td>4</td><td>Barry</td><td>James</td><td>JAMES, BARRY, L; SEARS ROEBUCK & CO</td><td>Match</td></tr> <tr><td>5</td><td>Jacqueline Ebert & Shearice Ellis</td><td> </td><td>ELLIS, SHEARICE, E; EBERT, JACQUELINE; ELLIS, GERALD; YOUR COUNTY FEDERAL CREDI, T UNION</td><td>No-Match</td></tr> <tr><td>6</td><td>Rodney & Antonya</td><td>Daisey</td><td>DAISEY, RODNEY, T; DAISEY, ANTONYA, A; COUNTY ME, TRO GOVERNMENT</td><td>No-Match</td></tr> <tr><td>7</td><td>Toni</td><td>Young</td><td>YOUNG, TONI, S; YOUNG, TONI</td><td>Match</td></tr></table>