+ Reply to Thread
Results 1 to 6 of 6

SheetNames into Formula

  1. #1
    Registered User
    Join Date
    02-12-2022
    Location
    Armenia
    MS-Off Ver
    2016
    Posts
    4

    Question SheetNames into Formula

    Hello Guys have such a problem.

    Pulled up all the names of the sheets into 1 column .
    Screenshot 2022-02-13 013722.png

    Now I need to use them in formula...

    need to take the value from those sheets. for example D6 cell.

    lets say that I need to take the D6 from the sheet ="sheet#1"!D60

    can I use the sheet names as a core and add the symbols to multiple cells (where the sheet-name will stay as it is) and add symbols like ='(already written shee-tname)'!D60

    I need to do this to all the sheets.

    any ideas ?

  2. #2
    Registered User
    Join Date
    01-25-2022
    Location
    London, England
    MS-Off Ver
    Microsoft Office Professional Plus 2021; Office 365
    Posts
    83
    Hi stave,
    You can try using Named Ranges from Data.
    Try attaching a workbook with some mockup and desired results
    Alcohol & calculus don't mix.Never drink & derive.

  3. #3
    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: SheetNames into Formula

    If you have sheet names in a cells that you now need to use in a formula, you need to use the INDIRECT() function. Something like....
    =INDIRECT(O224&"!A1")
    where )22 would contain the sheet name and A1 is the cell ref you need to return
    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

  4. #4
    Registered User
    Join Date
    02-12-2022
    Location
    Armenia
    MS-Off Ver
    2016
    Posts
    4

    Re: SheetNames into Formula

    EDITED ! SOLVED
    thankyou for you response.
    however still getting errors.
    I'll formulate my case in another way.

    I have column filled with sheet names. lets say A column is filled with sheet names.

    I need to take that column as a sheet name to ref a cell which I want to return.

    =somehow indicate that name as a sheetname "!D60

    Thank you !

    =INDIRECT function worked !
    Last edited by STAVE; 02-13-2022 at 03:03 AM.

  5. #5
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    80,405

    Re: SheetNames into Formula

    If that takes care of your original question, please select Thread Tools from the menu link above and mark this thread as SOLVED.

    Also, if you have not already done so, you may not be aware that you can thank those who have helped you by clicking the small star icon located in the lower left corner of the post in which the help was given. By doing so you can add to the reputation(s) of all those who offered help.
    Ali


    Enthusiastic self-taught user of MS Excel who's always learning!
    Don't forget to say "thank you" in your thread to anyone who has offered you help.
    You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.

    Forum Rules (updated August 2023): please read them here.

  6. #6
    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: SheetNames into Formula

    Happy to help

+ 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. Remove .xls from sheetnames
    By elmnas in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-11-2015, 09:17 AM
  2. Changing Multiple Sheetnames
    By fearonc in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 12-05-2014, 05:10 PM
  3. Sheetnames in cells
    By Fean in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-14-2014, 12:13 PM
  4. [SOLVED] Identify Sheetnames by quarter
    By nickmax1 in forum Excel Programming / VBA / Macros
    Replies: 33
    Last Post: 01-15-2014, 08:02 AM
  5. VBA store sheetnames in a array
    By oeldere in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 07-18-2013, 03:39 PM
  6. [SOLVED] how to update Listbox of sheetnames if user changes sheetnames?
    By tr00per in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 02-12-2006, 04:10 AM
  7. Summary of sheetnames containing certain data
    By Roger van Dorp in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-26-2005, 09:48 AM

Tags for this Thread

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