Forum Discussion
Referencing Entire Workbook
SergeiBaklan wrote:As a variant instead of using
=MID(CELL("filename"),FIND("]",CELL("filename",D5))+1,256)you may extract sheet name from
=FORMULATEXT(D5)
That is a good idea, however, often the cells are set as values and no longer include the formulas. Any other ideas?
=MID(CELL("filename",'T1'!B1),FIND("]",CELL("filename",'T1'!B1))+1,256)
if instead of D5 in formula you click on any cell in T1. For both CELL()
- SergeiBaklanApr 18, 2018Diamond Contributor
Or you would like to find in which sheet you have combination of "Travel" and 2900?
- Matt McCormackApr 18, 2018Copper Contributor
SergeiBaklan wrote:Or you would like to find in which sheet you have combination of "Travel" and 2900?
No I would just like the cell to return the tabnames in which the number is present.
- SergeiBaklanApr 18, 2018Diamond Contributor
Matt, as variant if you are on Excel 2016 with Office365 subscription you may
- create helper table (or range) with all sheet names at any place of the workbook
- combine string with sheet names where the value exists with TEXTJOIN
=TEXTJOIN(", ",TRUE,IF(COUNTIF(INDIRECT(Sheets[Sheets]&"!1:1048576"),$D5)>0,Sheets[Sheets],""))above is array formula (Ctrl+Shift+Enter). And it's better to take more reasonable range for the sheets.