+ Reply to Thread
Results 1 to 5 of 5

Anyone knows if it is possible to apply Search and Replace to part of a formula?

Hybrid View

  1. #1
    Registered User
    Join Date
    06-15-2007
    Posts
    4

    Anyone knows if it is possible to apply Search and Replace to part of a formula?

    I need to remove the first part of a formula in thousands of cells. This first
    part of the formula is the same in all the cells.

    Anyone knows if it is possible to apply Search and Replace to part of a formula? It seems that Search can find anything inside a formula, but then Replace only allows to change the contents of all the cell.

    Any ideas ?

    Many thanks !!!

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    See link

    http://www.bettersolutions.com/excel...A318211612.htm

    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Registered User
    Join Date
    06-15-2007
    Posts
    4

    That will only allow to replace all the content of the cell. I need to replace only t

    That will only allow to replace all the content of the cell. I need to replace only the first part of it.

    Thanks again.

  4. #4
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    E.g

    In the Find box enter the full formula

    =SUM(A1:A11)

    in the replace box enter the new formula

    =SUM(A4:A11)

    or

    just find

    (A1:


    and replace

    (A4:

    HTH

    VBA Noob

  5. #5
    Registered User
    Join Date
    06-15-2007
    Posts
    4
    Many thanks but:

    Your first suggestion is too difficult as the formulas are thousands !!
    Your second suggestion will replace the whole contents of the formula with (A4: and will delete the rest of the formula !!!

    Thankyou !!!!!!!!!!

+ 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