Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
In my data, I have some cells that end in " - " (space dash space). I would
like to delete the space dash space if it is the last thing in the cell. I would like to keep it if it is in the middle. I know that the TRIM function deletes a trailing space, can I edit it to delete a trailing space dash space? Here's an example: Mary - poodle Theo - beagle Barney - Jacob - pug Schmitty - So, I want "Mary - poodle" to stay the same, and "Barney - " to become just "Barney" like this Mary - poodle Theo - beagle Barney Jacob - pug Schmitty Thank you! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trim hidden characters? | Excel Worksheet Functions | |||
Count Characters with space in a cell | Excel Discussion (Misc queries) | |||
How do you trim characters? | Excel Worksheet Functions | |||
trim a string by specific number of characters | Excel Discussion (Misc queries) | |||
Trim function doesn't clean out ASCII Code 160 (Space) | Excel Worksheet Functions |