ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   IF and ISERROR Functions (https://www.excelbanter.com/excel-worksheet-functions/20534-if-iserror-functions.html)

 Diamonds_Mine April 4th 05 10:57 PM

IF and ISERROR Functions

In Excel 2003, I have a list of names in column A and column C; I need to
find any duplicates between the two columns. Column A has 469 rows and
Column C has 4713 rows. Example -- Column A -- Duck Donald and Column B --
Duck Donald

I found the formula below and it does work, but I need to know if I can use
a wildcard character in this formula to also find for instance: in Column A
-- Duck Donald and in Column B -- Duck Donald D. The difference being the
middle initial D. Any suggestions are greatly appreciated.

=IF(ISERROR(MATCH(A10,\$C\$1:\$C\$4713,0)),"",A10)

 Biff April 5th 05 05:20 AM

Hi!

Yes, you can use wildcards with MATCH:

=IF(ISERROR(MATCH("*"&A10&"*",\$C\$1:\$C\$4713,0)),"", A10)

Biff

-----Original Message-----
In Excel 2003, I have a list of names in column A and

column C; I need to
find any duplicates between the two columns. Column A

has 469 rows and
Column C has 4713 rows. Example -- Column A -- Duck

Donald and Column B --
Duck Donald

I found the formula below and it does work, but I need to

know if I can use
a wildcard character in this formula to also find for

instance: in Column A
-- Duck Donald and in Column B -- Duck Donald D. The

difference being the
middle initial D. Any suggestions are greatly

appreciated.

=IF(ISERROR(MATCH(A10,\$C\$1:\$C\$4713,0)),"",A10)
.

 All times are GMT +1. The time now is 11:41 PM.