Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mis
 
Posts: n/a
Default 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
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Elkar
 
Posts: n/a
Default 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

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
Mis
 
Posts: n/a
Default 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

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
I can't delete a cell without deleting a row Tenny Excel Discussion (Misc queries) 2 June 30th 06 12:52 AM
How to Delete a Range in Closed Workbook (to Replace Delete Query) [email protected] Excel Discussion (Misc queries) 1 March 8th 06 10:10 AM
in workbook, where is delete worksheet Teressa Excel Worksheet Functions 5 January 19th 06 11:46 PM
how do I delete a worksheet from my workbook DLee New Users to Excel 2 August 15th 05 09:59 PM
Delete row depending on criteria adw223 Excel Discussion (Misc queries) 1 June 30th 05 12:55 AM


All times are GMT +1. The time now is 05:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"