1. Welcome to Chandoo.org Forums. Short message for you

    Hi Guest,

    Thanks for joining Chandoo.org forums. We are here to make you awesome in Excel. Before you post your first question, please read this short introduction guide. When posting or responding to questions please remember our values at Chandoo.org are: Humility, Passion, Fun, Awesomeness, Simplicity, Sharing Remember that we have people here for whom English is not there first language and we need to allow for this in our dealings.

    Yours,
    Chandoo
  2. Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  3. When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Return sheet name from search

Discussion in 'Ask an Excel Question' started by Strugglestreet, Jun 12, 2018.

  1. Strugglestreet

    Strugglestreet New Member

    Messages:
    6
    Hello all,

    I can't seem to get this to work. I have multiple worksheets in a workbook and i need a formula that I can use to search the rest of the workbook and return the sheet name in the cell. For example i have a lot of seperate sectors within the stock market that are found on multiple indexes. I need a cell in the sector worksheets to search the worksheets that contain the indexes. If the stock code is found then I need to add that index (sheet name) to the stock code. I found a previous post with this formula

    =INDEX(Sheet_List,MATCH(1,--(COUNTIF(INDIRECT("'"&Sheet_List&"'!$B$1:$B$400"),Employee_Name)>0),0))

    However i am a novice at excel and it keeps returning #name?.

    Is someone able to help me solve this please?

    Thanks
  2. GraH - Guido

    GraH - Guido Active Member

    Messages:
    671
    Hi, the formula posted contains a virtual reference from the name manager "Employee_Name", hence the error probably. Your file does not know that name.
    To be able to help you, please upload a sample file, containing the file structure as explained and with enough data to test the formula. Dummy data is okay.
  3. Strugglestreet

    Strugglestreet New Member

    Messages:
    6
    Ok no worries please see attached document.

    Thank you in advance!

    Attached Files:

  4. GraH - Guido

    GraH - Guido Active Member

    Messages:
    671
    You uploaded CSV, not excel, thus formula is gone... And also the multiple sheets.
  5. Strugglestreet

    Strugglestreet New Member

    Messages:
    6
    Oops, sorry. Please try this!

    Attached Files:

Share This Page