+ Reply to Thread
Results 1 to 5 of 5

Excel Tabs

  1. #1
    Registered User
    Join Date
    02-04-2021
    Location
    HA
    MS-Off Ver
    2016
    Posts
    24

    Excel Tabs

    Hi All,

    If I have an excel tab called "John Doe" for example. Is there a formula I can put in cell A1 for example to use that name? and lets say later on i change the tab name to "Charles Gates" and then i would want A1 to update with that name (or any name i input for that matter).

    Thank you again!

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Excel Tabs

    =MID(CELL("filename"),FIND("]",CELL("filename"))+1,255)
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-04-2021
    Location
    HA
    MS-Off Ver
    2016
    Posts
    24

    Re: Excel Tabs

    Awesome! thank you so much. It worked!

  4. #4
    Registered User
    Join Date
    02-04-2021
    Location
    HA
    MS-Off Ver
    2016
    Posts
    24

    Re: Excel Tabs

    Hi Ben,

    Do you know how to generalize the formula. For example, if say A1 had the above formula pull the name of another tab instead of the tab the formula is in (i.e the formula is in say sheet1 and the name we want is the name on tab 2) Thank you!

  5. #5
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,598

    Re: Excel Tabs

    That's not possible. You would have to reference the other sheet in the formula. If you put that formula in several sheets, it will always display the name of the active sheet (i.e., the one being edited).

+ 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. Calculating Sumifs Across Multiple Tabs; allowing Tabs to change or be added/deleted
    By Charles A. Othon in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-12-2019, 04:49 PM
  2. Macro help: Separating data into tabs and creating a table of content of those tabs
    By AntiPivotTable in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 10-15-2015, 11:57 AM
  3. Replies: 45
    Last Post: 03-12-2015, 12:46 PM
  4. [SOLVED] Userform with Multi-Tabs and Textboxes losing values when switching tabs
    By guitarsweety in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 10-23-2014, 11:35 AM
  5. Moving multiple excel tabs into separate tabs/separate files
    By RO24 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 10-02-2014, 11:04 AM
  6. Copy Tabs from different excel file by using code name of the tabs
    By varun.kalra1988 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-15-2014, 02:03 PM
  7. Replies: 6
    Last Post: 02-01-2012, 05:29 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