+ Reply to Thread
Results 1 to 3 of 3

Find / Replace in a string

  1. #1
    Basu
    Guest

    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. #2
    Bob Phillips
    Guest

    Re: 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" <[email protected]> wrote in message
    news:[email protected]...
    > 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. #3
    Basu
    Guest

    Re: 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" <[email protected]> wrote in message
    > news:[email protected]...
    > > 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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1