ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Find and Replace with wildcards? (https://www.excelbanter.com/excel-discussion-misc-queries/173543-find-replace-wildcards.html)

Colin

Find and Replace with wildcards?
 
Hello,

I have data in a worksheet that has some number and some letter values
sometimes followed by an asterisk.
I am trying to find all entries of a number followed by an asterisk and
format the cell and remove the asterisk.
I am halfway there using find and replace but starting to think this may not
be the best way to do it.
Any help greatly appreciated. Thanks


Gord Dibben

Find and Replace with wildcards?
 
To find/replace an asterisk precede the asterisk by a tilde.

~*


Gord Dibben MS Excel MVP

On Thu, 17 Jan 2008 18:34:00 -0800, Colin
wrote:

Hello,

I have data in a worksheet that has some number and some letter values
sometimes followed by an asterisk.
I am trying to find all entries of a number followed by an asterisk and
format the cell and remove the asterisk.
I am halfway there using find and replace but starting to think this may not
be the best way to do it.
Any help greatly appreciated. Thanks



Colin

Find and Replace with wildcards?
 
Thanks Gord, I have got that far - I'm stuck on removing the asterisk only
and leaving the value and also how to differentiate between numeric data and
letters before the asterisk

"Gord Dibben" wrote:

To find/replace an asterisk precede the asterisk by a tilde.

~*


Gord Dibben MS Excel MVP

On Thu, 17 Jan 2008 18:34:00 -0800, Colin
wrote:

Hello,

I have data in a worksheet that has some number and some letter values
sometimes followed by an asterisk.
I am trying to find all entries of a number followed by an asterisk and
format the cell and remove the asterisk.
I am halfway there using find and replace but starting to think this may not
be the best way to do it.
Any help greatly appreciated. Thanks




Rick Rothstein \(MVP - VB\)

Find and Replace with wildcards?
 
You are using Replace from Excel's menu, right? Put ~* in the "Find what"
field and remove anything in the "Replace with" field (this field should
have nothing in it) then hit the Replace or Replace All button.

Rick


"Colin" wrote in message
...
Thanks Gord, I have got that far - I'm stuck on removing the asterisk only
and leaving the value and also how to differentiate between numeric data
and
letters before the asterisk

"Gord Dibben" wrote:

To find/replace an asterisk precede the asterisk by a tilde.

~*


Gord Dibben MS Excel MVP

On Thu, 17 Jan 2008 18:34:00 -0800, Colin

wrote:

Hello,

I have data in a worksheet that has some number and some letter values
sometimes followed by an asterisk.
I am trying to find all entries of a number followed by an asterisk and
format the cell and remove the asterisk.
I am halfway there using find and replace but starting to think this may
not
be the best way to do it.
Any help greatly appreciated. Thanks





Colin

Find and Replace with wildcards?
 
Thanks for your replies, I have managed to resolve my problem. I didnt
explain myself fully and will make sure I do next time - thanks

"Rick Rothstein (MVP - VB)" wrote:

You are using Replace from Excel's menu, right? Put ~* in the "Find what"
field and remove anything in the "Replace with" field (this field should
have nothing in it) then hit the Replace or Replace All button.

Rick


"Colin" wrote in message
...
Thanks Gord, I have got that far - I'm stuck on removing the asterisk only
and leaving the value and also how to differentiate between numeric data
and
letters before the asterisk

"Gord Dibben" wrote:

To find/replace an asterisk precede the asterisk by a tilde.

~*


Gord Dibben MS Excel MVP

On Thu, 17 Jan 2008 18:34:00 -0800, Colin

wrote:

Hello,

I have data in a worksheet that has some number and some letter values
sometimes followed by an asterisk.
I am trying to find all entries of a number followed by an asterisk and
format the cell and remove the asterisk.
I am halfway there using find and replace but starting to think this may
not
be the best way to do it.
Any help greatly appreciated. Thanks






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

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