ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Now how to delete plurals?? (https://www.excelbanter.com/excel-worksheet-functions/95819-now-how-delete-plurals.html)

Mis

Now how to delete plurals??
 
If I have a ton of phrases listed, some singular and some plural form in
separate cells of one column, listed like below, is there a way to delete the
plural versions quickly and keep the singular without spaces inbetween the
cells (where the plural forms used to be)? If it helps, a lot of the plural
phrases do end with 'costumes' so I'm dealing mainly with the same word.

halloween costume
halloween costumes
pet costume
pet costumes
anakin skywalker costume
anakin skywalker costumes

Thanks for any feedback you can give,
Mis

Elkar

Now how to delete plurals??
 
If removal of an ending S is what you're looking for, then this formula
should do the trick:

=IF(RIGHT(A1,1)="S",MID(A1,1,LEN(A1)-1),A1)

This assumes your data starts in A1. If not, then change to match your needs.

HTH,
Elkar




"Mis" wrote:

If I have a ton of phrases listed, some singular and some plural form in
separate cells of one column, listed like below, is there a way to delete the
plural versions quickly and keep the singular without spaces inbetween the
cells (where the plural forms used to be)? If it helps, a lot of the plural
phrases do end with 'costumes' so I'm dealing mainly with the same word.

halloween costume
halloween costumes
pet costume
pet costumes
anakin skywalker costume
anakin skywalker costumes

Thanks for any feedback you can give,
Mis


Mis

Now how to delete plurals??
 
Elkar,

That worked. And I finished it off with a pivot table to eliminate
duplicates.

Thanks a bunch!
Mis

"Elkar" wrote:

If removal of an ending S is what you're looking for, then this formula
should do the trick:

=IF(RIGHT(A1,1)="S",MID(A1,1,LEN(A1)-1),A1)

This assumes your data starts in A1. If not, then change to match your needs.

HTH,
Elkar




"Mis" wrote:

If I have a ton of phrases listed, some singular and some plural form in
separate cells of one column, listed like below, is there a way to delete the
plural versions quickly and keep the singular without spaces inbetween the
cells (where the plural forms used to be)? If it helps, a lot of the plural
phrases do end with 'costumes' so I'm dealing mainly with the same word.

halloween costume
halloween costumes
pet costume
pet costumes
anakin skywalker costume
anakin skywalker costumes

Thanks for any feedback you can give,
Mis



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

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