+ Reply to Thread
Results 1 to 14 of 14

Trying to Clear the same part of a formula in multiple cells...w/ No luck

  1. #1
    Registered User
    Join Date
    06-15-2016
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Hi,



    I have about 180 cells, all of which have


    I want to delete the old file path from every cell but still retain the ending, which is a link to data from another sheet and a formula with being the other sheet name and "!$F$8" being the formula. Every time I try to do "find and replace" by copying the old file path and searching for it in the selected cells, replacing it with nothing gets rid of the the ' ' around the sheet I'm referring to, consuquently getting rid of my path to that sheet. Any help is appreciated. Thanks
    Last edited by JF1998; 06-15-2016 at 02:55 PM.

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,972

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    I have often done this kind of thing in a few steps.

    1st SAVE your file in case you mess up!!!!

    1. convert it to text - F/R = with &= (or something like that)
    2. F/R to make your change
    3. F/R &= with =
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Registered User
    Join Date
    06-15-2016
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Can you explain what you mean by F/R? Im pretty new at this and im learning as I go here.

  4. #4
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Select the data and do a find and replace on "\\wr-Ts1\Jobs\Jack\[6-7-16 Estimating Template reconstruction.xlsx]" to nothing.

    EDIT:
    Are you sure that doesn't work for you?

    Are you sure you didnt replace "'\\wr-Ts1\Jobs\Jack\[6-7-16 Estimating Template reconstruction.xlsx]" with nothing?
    Please ensure you mark your thread as Solved once it is. Click here to see how.
    If a post helps, please don't forget to add to our reputation by clicking the star icon in the bottom left-hand corner of a post.

  5. #5
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,972

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Quote Originally Posted by JF1998 View Post
    Can you explain what you mean by F/R? Im pretty new at this and im learning as I go here.
    Find/Replace

  6. #6
    Registered User
    Join Date
    06-15-2016
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Yeah I tried that and what happens is, clearing that also clears the ' ' around the sheet name, which gets rid of my link to a sheet in my current book. so for example, if I have " and try to get rid of , it also erases the apsotophes that should then be surrounding . Basically, I want in the end.
    Last edited by JF1998; 06-15-2016 at 02:56 PM.

  7. #7
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Can you attach a sample?

  8. #8
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Quote Originally Posted by JF1998 View Post
    Can you explain what you mean by F/R? Im pretty new at this and im learning as I go here.
    I'm not as new and I didn't know what F/R was either.

  9. #9
    Registered User
    Join Date
    06-15-2016
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    I would but there are personal company names, phone numbers, etc that would take a while to redact. However, I can try to send screen shots if that would help.



    Edit: Actually I can just do find and replace hang on a second.

  10. #10
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,972

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Apologies for the short-hand, figured if you typed out Find and Replace, you would make the connection to F/R

  11. #11
    Registered User
    Join Date
    06-15-2016
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Sorry again, co-worker told me not to forward documents. I can send screen shots though.

  12. #12
    Forum Expert
    Join Date
    10-09-2012
    Location
    Dallas, Texas
    MS-Off Ver
    MO 2010 & 2013
    Posts
    3,049

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Desensitize the data.
    Change the names and numbers but make the general idea something that will help us help you.

    This is the point of making a representative sample.

  13. #13
    Registered User
    Join Date
    06-15-2016
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Just made a screen shot. How do I post a picture?

  14. #14
    Registered User
    Join Date
    06-15-2016
    Location
    Chicago, IL
    MS-Off Ver
    2013
    Posts
    9

    Re: Trying to Clear the same part of a formula in multiple cells...w/ No luck

    Here is the line of formula I have.


    Capture.JPG

    It is supposed to reference a cell from another worksheet in the workbook. That formula however was copied from an entirely different workbook, so it has that old file link. Im trying to get rid of the file link but retain the string of numbers after it (R1876353)
    Last edited by JF1998; 06-15-2016 at 03:39 PM.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Change part of formula in multiple cells
    By T_BOLT in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 07-11-2015, 09:52 AM
  2. [SOLVED] Clear cells on multiple sheets
    By Jazzmann in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-25-2015, 10:50 PM
  3. Replies: 9
    Last Post: 07-03-2013, 07:39 AM
  4. [SOLVED] Multiple Sheet Clear Cells
    By rob1st in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-14-2013, 01:14 AM
  5. How to remove part of a formula in multiple cells
    By bquality in forum Excel General
    Replies: 1
    Last Post: 06-21-2012, 03:12 PM
  6. [SOLVED] Excel 2007 : Formula help - not having luck with LOOKUP
    By heatherromo in forum Excel General
    Replies: 3
    Last Post: 03-09-2012, 01:39 PM
  7. Clear multiple cells
    By rkaiser in forum Excel General
    Replies: 3
    Last Post: 11-10-2006, 07:26 AM

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