ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do I use = command on only first few letters or so? (https://www.excelbanter.com/excel-worksheet-functions/32504-how-do-i-use-%3D-command-only-first-few-letters-so.html)

Brett

How do I use = command on only first few letters or so?
 
How do I setup a formula where the equal command checks only the first letter
or so.

For example, I have a list of companies that I want to screen for
duplicates, so I would have Excel place a 1 next to duplicate entries for
sorting and then deleting. But the formula always misses things like this:
Games, Inc.
Games
How can I set it up to only look at the first few letters or so?


Damon Longworth

Try something similar to:

=left(a1,4)="game"

--
Damon Longworth

Don't miss out on the 2005 Excel User Conference
Sept 16th and 17th
Stockyards Hotel - Ft. Worth, Texas
www.ExcelUserConference.com


"Brett" wrote in message
...
How do I setup a formula where the equal command checks only the first
letter
or so.

For example, I have a list of companies that I want to screen for
duplicates, so I would have Excel place a 1 next to duplicate entries for
sorting and then deleting. But the formula always misses things like this:
Games, Inc.
Games
How can I set it up to only look at the first few letters or so?





All times are GMT +1. The time now is 04:28 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com