Excel formula to search across multiple worksheets and return worksheet name
top of page

Excel formula to search across multiple worksheets and return worksheet name


You can use a LOOKUP formula to search for a value [in this example A4] across multiple worksheets and if there is a hit in the specified column range [in this example A2:A100 - but it can cover multiple columns] the worksheet name will be returned.

=LOOKUP(9.99999999999999E+307,1/COUNTIF(INDIRECT("'"&SheetList&"'!A2:A100"),$A4),SheetList)

Before entering the formula you need to name a range of cells with the names of the worksheets you are searching. So you can just select the cells and then enter a name in the box to the far left of the formula bar. If you need to adjust the range go to the Formulas tab and then click 'Name Manager'.

The formula is not case sensitive. If it finds the same value on more than one worksheet it will not list more than one worksheet name.

Thanks to Aladin Akyurek for posting this formula on the MrExcel.com forum.


Sean O'Shea has more than 20 years of experience in the litigation support field with major law firms in New York and San Francisco.   He is an ACEDS Certified eDiscovery Specialist and a Relativity Certified Administrator.

The views expressed in this blog are those of the owner and do not reflect the views or opinions of the owner’s employer.

If you have a question or comment about this blog, please make a submission using the form to the right. 

Your details were sent successfully!

© 2015 by Sean O'Shea . Proudly created with Wix.com

bottom of page