+ Reply to Thread
Results 1 to 3 of 3

Return all sheet names if value actually exists in the workbook

  1. #1
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Return all sheet names if value actually exists in the workbook

    Hi,

    I have values inside column A (Sheet1). Inside column B and rest of the row, I need a formula that searches that specific value from column A, inside all sheets (Column A for all sheets) and returns the sheet name if that value is existing inside that specific sheet. If its multiple sheets, then continue down the row and return the name of the sheet name.

    Any more detail let me know.. Thanks
    Attached Files Attached Files

  2. #2
    Forum Guru Bo_Ry's Avatar
    Join Date
    09-10-2018
    Location
    Thailand
    MS-Off Ver
    MS 365
    Posts
    7,213

    Re: Return all sheet names if value actually exists in the workbook

    Is this work?

    B11 drag to C11 and drag down
    IF(COUNTIF(INDIRECT("sheet"&COLUMNS($A11:B11)&"!A:A"),$A11),"Sheet"&COLUMNS($A11:B11),"")

    or
    B11
    =IF(COUNTIF(Sheet2!A:A,A11),"Sheet2","")
    C11
    =IF(COUNTIF(Sheet3!A:A,A11),"Sheet3","")

  3. #3
    Forum Contributor
    Join Date
    11-01-2018
    Location
    England
    MS-Off Ver
    2016
    Posts
    280

    Re: Return all sheet names if value actually exists in the workbook

    Thats perfect! I have used the top formula

+ 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. Check if sheet exists in another workbook
    By arlu1201 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-12-2013, 02:49 PM
  2. Replies: 2
    Last Post: 01-21-2013, 12:07 AM
  3. [SOLVED] Index My Workbook - Return Sheet Names
    By JungleJme in forum Excel General
    Replies: 5
    Last Post: 12-19-2012, 07:34 AM
  4. Check if sheet from list exists in workbook
    By arlu1201 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-25-2011, 02:13 PM
  5. Return cell value if a sheet exists
    By NickExcel in forum Excel General
    Replies: 2
    Last Post: 08-04-2011, 01:04 PM
  6. checking if a sheet exists in a workbook
    By mwc0914 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-21-2006, 02:55 PM
  7. Check if sheet exists in a closed workbook
    By FrigidDigit in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-25-2005, 02:05 AM

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