+ Reply to Thread
Results 1 to 3 of 3

making a formula work on all tabs

  1. #1
    Forum Contributor
    Join Date
    09-30-2015
    Location
    LA my baby
    MS-Off Ver
    2013
    Posts
    727

    making a formula work on all tabs

    Hello. How do I make a formula work on all tabs.

    This is the formula that I have. =REPLACE(CELL("filename",R2),1,SEARCH("]",CELL("filename",R1)),"")

    I shift all tabs, and copy over the formula in the first tab but it doesn't copy the formula into the other tabs.

  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
    53,042

    Re: making a formula work on all tabs

    What are you trying to do here?
    It kinda looks like you want to extract the sheet name? If so, try this...

    =MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255)
    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
    Forum Expert shukla.ankur281190's Avatar
    Join Date
    05-17-2014
    Location
    Lucknow, India
    MS-Off Ver
    Office 365
    Posts
    3,990

    Re: making a formula work on all tabs

    Try

    =MID(CELL("filename",B1),SEARCH("]",CELL("filename",B1))+1, SEARCH("]",CELL("filename",B1))-SEARCH("[",CELL("filename",B1))-1)
    If I helped, Don't forget to add reputation (click on the little star ★ at bottom of this post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)

+ 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. How to add new tabs and have sort macros work on new tabs correctly
    By Vicious00013 in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-13-2016, 05:43 AM
  2. problems making this IF formula work
    By wallstreetballa in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-25-2013, 01:46 AM
  3. Making new spreadsheets from tabs
    By Lexi36 in forum Excel General
    Replies: 3
    Last Post: 02-19-2013, 07:57 PM
  4. Making 2 tabs in 1 workbook work together?
    By siroky25 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-01-2010, 03:36 AM
  5. Making a formula work across each row!
    By ivygivy in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 09-19-2009, 09:44 PM
  6. Making a textbox work out a formula
    By jpruffle in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2009, 03:35 PM
  7. [SOLVED] Making this formula work
    By Kleev in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 12-14-2005, 08:45 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