+ Reply to Thread
Results 1 to 4 of 4

Rename text in a range of formulas

  1. #1
    Registered User
    Join Date
    08-12-2014
    Location
    Walvis Bay, Namibia
    MS-Off Ver
    Office 365
    Posts
    11

    Rename text in a range of formulas

    Good Afternoon, I need to change a range of text, in a formula, in a range of columns. At the moment I am replacing the text one by one. Eg. I have 65 worksheets in a workbook and each sheet are names differently. Then I have a comparison sheet where are the data are combined on. ='Eastern Cape - Grahamstown'!$E15 I need to replace the name Grahamstown in the formula with other worksheet names.

    Is there an easier solution to this instead of me putting in the formula manually.

    Thanks

    Jonathan

  2. #2
    Forum Contributor
    Join Date
    06-24-2005
    Location
    excelliot.com
    MS-Off Ver
    2007
    Posts
    325

    Re: Rename text in a range of formulas

    Hi you can use Indirect function, wherein you can put sheet name in one cell & by using indirect formula you can refer particular cells of that sheet.


    Cheers!!

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: Rename text in a range of formulas

    Use the find and replace tool.

  4. #4
    Valued Forum Contributor TheCman81's Avatar
    Join Date
    11-06-2012
    Location
    Edinburgh, UK
    MS-Off Ver
    Excel 2003, 2007, 2010, 2013
    Posts
    346

    Re: Rename text in a range of formulas

    Does it always have Eastern Cape - at the start of the sheet name?

    You can use something like the below (A2 is the sheet name ie Grahamstown

    =INDIRECT("'Eastern Cape - "&A2&"'!"&"E15")
    Excel Guru in the making

    <----------If the question has been answered to your satisfication please click the Add Repuation star to the left

+ 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. Loop - change value, calculate formulas, copy to new sheet, rename
    By gmn734 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-23-2013, 11:00 AM
  2. [SOLVED] How do I clear contents from a range excluding formulas and text?
    By Normezo in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-23-2012, 10:36 AM
  3. Replies: 1
    Last Post: 05-28-2012, 01:47 PM
  4. Copy and rename worksheets to other workbook but not formulas
    By Oakstream in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-21-2010, 09:27 AM
  5. rename items in formulas
    By rbpd5015 in forum Excel General
    Replies: 10
    Last Post: 04-09-2010, 05:08 PM

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