+ Reply to Thread
Results 1 to 2 of 2

Formula to give list sheet names

  1. #1
    Valued Forum Contributor
    Join Date
    04-13-2011
    Location
    Ottawa, Canada
    MS-Off Ver
    365
    Posts
    1,067

    Formula to give list sheet names

    Hello Excel Experts,

    Say I have the following sheets in a workbook.

    'Sheet1', 'Start', 'Jan', 'Feb', 'North', 'SomeName' , 'End', Sheet2, 'Output'

    Say in 'Output' sheet, is there a formula that can give me a list of sheets in the current workbook?

    Even better, a formula that give me a list of sheets that are in the range of sheets that are in between 'Start' and 'End'

    Again...I'm looking for a formula. Try to avoid using VBA.

    Solved: I was able to solve it by following the steps in https://www.extendoffice.com/documen...eet-names.html

    Those who're lazy to look, basically the steps are.

    1.) Create a name range formula (i.e ListSheets) and in the name range formula have it =SUBSTITUTE(GET.WORKBOOK(1),"["&GET.WORKBOOK(16)&"]","")
    2.) In the 'Output' sheets at cell A1, use a formula, =INDEX(ListSheets,ROWS($A$1:$A1))
    Last edited by dluhut; 06-03-2019 at 04:24 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,926

    Re: Formula to give list sheet names

    Not possible with a formula, sorry. It will require a UDF (User Defined Function) which is a small macro - which is pretty much what your link showed
    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

+ 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. Replies: 2
    Last Post: 01-07-2015, 07:15 PM
  2. [SOLVED] Formula to give list of duplicates
    By Prooffreader in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 07-21-2013, 07:28 PM
  3. Formula to give a list of options
    By William46 in forum Excel General
    Replies: 13
    Last Post: 05-16-2012, 04:25 AM
  4. Getting a list of Sheet Names by excluding certain Sheet Names instantenously..
    By e4excel in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-09-2012, 12:16 PM
  5. Replies: 2
    Last Post: 07-13-2011, 06:40 AM
  6. Replies: 1
    Last Post: 11-27-2008, 11:11 AM
  7. Give RELEVANT responses to questions. DO NOT give usless list
    By pmartin in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 07-06-2006, 02:00 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