Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
I have a column that contains names and is formated as "Text".
Some of the cells have a "*" - at the end of the name. I would like to find a way to delete all of the "*"s. If I use "Replace" and have it look for * it will replace all of the contents of the cell. Is there another way to do this? thanks -- Perry K |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
On Thu, 2 Apr 2009 06:20:01 -0700, PerryK
wrote: I have a column that contains names and is formated as "Text". Some of the cells have a "*" - at the end of the name. I would like to find a way to delete all of the "*"s. If I use "Replace" and have it look for * it will replace all of the contents of the cell. Is there another way to do this? thanks The tilde tells Excel to treat the asterisk as a literal. So in your Find what: string you would enter: ~* --ron |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks --- Learn something new every day!!!!
-- Perry K "Ron Rosenfeld" wrote: On Thu, 2 Apr 2009 06:20:01 -0700, PerryK wrote: I have a column that contains names and is formated as "Text". Some of the cells have a "*" - at the end of the name. I would like to find a way to delete all of the "*"s. If I use "Replace" and have it look for * it will replace all of the contents of the cell. Is there another way to do this? thanks The tilde tells Excel to treat the asterisk as a literal. So in your Find what: string you would enter: ~* --ron |
#4
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Hi,
Excel will treat * as a wildcard so use ~* in the 'Find What' field to make it treat * as a literal character. Mike "PerryK" wrote: I have a column that contains names and is formated as "Text". Some of the cells have a "*" - at the end of the name. I would like to find a way to delete all of the "*"s. If I use "Replace" and have it look for * it will replace all of the contents of the cell. Is there another way to do this? thanks -- Perry K |
#5
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks --- Learn something new every day!!!!
-- Perry K "Mike H" wrote: Hi, Excel will treat * as a wildcard so use ~* in the 'Find What' field to make it treat * as a literal character. Mike "PerryK" wrote: I have a column that contains names and is formated as "Text". Some of the cells have a "*" - at the end of the name. I would like to find a way to delete all of the "*"s. If I use "Replace" and have it look for * it will replace all of the contents of the cell. Is there another way to do this? thanks -- Perry K |
#6
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Some more info...
Excel can use wildcards in some functions and operations (edit|find, for example). * for any characters ? for any single character ~ as an "escape" character to indicate that the next * or ? should be treated as an asterisk or question mark--not as wild cards. So to find an asterisk, you use: ~* to find a question mark, you use: ~? to find a tilde, you use: ~~ PerryK wrote: I have a column that contains names and is formated as "Text". Some of the cells have a "*" - at the end of the name. I would like to find a way to delete all of the "*"s. If I use "Replace" and have it look for * it will replace all of the contents of the cell. Is there another way to do this? thanks -- Perry K -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell | Excel Discussion (Misc queries) | |||
Excel "Move or Copy" and "Delete" sheet functions | Excel Worksheet Functions | |||
Macro to Replace/Delete Text Using "Watchword" List? | Excel Discussion (Misc queries) | |||
USING EXCEL, delete all text right of the "!" symbol | Excel Worksheet Functions | |||
Insert "-" in text "1234567890" to have a output like this"123-456-7890" | Excel Discussion (Misc queries) |