Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Find / Replace in a string

Hi All,

I need a help with a find/replace that I have been trying to accomplish
for sometime now. I have a formula for eg.
IF(ISBLANK(AS45),"N/A",(AS45-(AU45-AV45))/AS45). What I need to do is
replace all the cell references with a "*". So the output would be
IF(ISBLANK(*),"N/A", (*-(*-*))/*).

Any help in this direction will be highly appreciated.

Regards.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Find / Replace in a string

Why not just type in

=IF(ISBLANK(*),"N/A", "(*-(*-*))/*")


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Basu" wrote in message
oups.com...
Hi All,

I need a help with a find/replace that I have been trying to accomplish
for sometime now. I have a formula for eg.
IF(ISBLANK(AS45),"N/A",(AS45-(AU45-AV45))/AS45). What I need to do is
replace all the cell references with a "*". So the output would be
IF(ISBLANK(*),"N/A", (*-(*-*))/*).

Any help in this direction will be highly appreciated.

Regards.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Find / Replace in a string


Bob Phillips wrote:

Why not just type in

=IF(ISBLANK(*),"N/A", "(*-(*-*))/*")


--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Basu" wrote in message
oups.com...
Hi All,

I need a help with a find/replace that I have been trying to accomplish
for sometime now. I have a formula for eg.
IF(ISBLANK(AS45),"N/A",(AS45-(AU45-AV45))/AS45). What I need to do is
replace all the cell references with a "*". So the output would be
IF(ISBLANK(*),"N/A", (*-(*-*))/*).

Any help in this direction will be highly appreciated.

Regards.


Hi Bob,

The reason being that I need to change this string (formula) after
being input (or copy/pasted) from another source and replace the cell
reference with "*" and then find this pattern in a range of cells.

Hope I've been able to explain!

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
Find & Replace a string contained in a link Matt from GVA Excel Discussion (Misc queries) 3 September 5th 06 01:24 PM
Find and Replace in a DDE string!!! Mark Dullingham Excel Programming 5 May 4th 06 01:12 AM
Find a string between two delimeters and replace with text Jeff[_50_] Excel Programming 2 May 2nd 06 07:15 PM
Excel - Find & Replace text in a string bklim Excel Worksheet Functions 1 June 14th 05 06:42 AM
Find/Replace String MysticalNomad Excel Programming 0 October 27th 04 11:59 AM


All times are GMT +1. The time now is 04:44 PM.

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

About Us

"It's about Microsoft Excel"