Lookup value across multiple sheets and return sheet name

Tanianiania

Board Regular
Joined
May 3, 2012
Messages
80
Hello

I'm struggling with this one..

I need a formula that reference a value starting in $A4 and looks for it across multiple worksheets and returns the worksheet name

There are 8 worksheets in total, the value will only appear once and won't be duplicated across sheets.

Thankyou
 
Let's say that the relevant sheet are: Sheet1, Sheet2, and Sheet3.

Insert a new worksheet and rename this new sheet Admin.

Go the Admin.

In A2 enter: Sheet1
In A3 enter: Sheet2
In A4 enter: Sheet3

Select A2:A4, type SheetList in the Name Box on the left side of the Formula Bar.

You can now use SheetList anywhere in your workbook where you need it.

That's awesome! Thanks so much :)
 
Upvote 0

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result
Google lead me to this, I was looking for the same solution. ALADIN MY MAN ! saved me atleast 3 hours of work. I wish you well.
 
Upvote 0
Just great. Thank you for noting that.

I just have 1 little question, i am using this formula :
=IFERROR(INDEX(Sheetlist,1/(1/SMALL(IF(ISNUMBER(1/COUNTIFS(INDIRECT("'"&Sheetlist&"'!D:D"),$B7)),
ROW(INDIRECT("1:"&COUNTIFS(Sheetlist,"?*")))),COLUMNS($K6:K6)))),"")

What if the sheets are on a different workbook ? how do i link them ?
Lets say the path is C:\Desktop\workbook1.xls
Sheet names in that workbook are 1 , 2 , 3 , 4

I have to do this because putting the sheets in the same workbook and making it very heavy.
 
Upvote 0
I just have 1 little question, i am using this formula :
=IFERROR(INDEX(Sheetlist,1/(1/SMALL(IF(ISNUMBER(1/COUNTIFS(INDIRECT("'"&Sheetlist&"'!D:D"),$B7)),
ROW(INDIRECT("1:"&COUNTIFS(Sheetlist,"?*")))),COLUMNS($K6:K6)))),"")

What if the sheets are on a different workbook ? how do i link them ?
Lets say the path is C:\Desktop\workbook1.xls
Sheet names in that workbook are 1 , 2 , 3 , 4

I have to do this because putting the sheets in the same workbook and making it very heavy.

Neither COUNTIFS nor INDIRECT work with closed workbooks, alas.
 
Upvote 0
Hi I used this formula from this post;
=LOOKUP(9.99999999999999E+307,1/COUNTIF(INDIRECT("'"&Sheetlist&"'!B8:Q8"),A8),Sheetlist)
I also need to lookup a value across multiple sheets an return the sheet name.
But when the value is in multiple sheets I all the sheet names in which the value is found.
Is there a way of doing this ?
 
Upvote 0
Hi I used this formula from this post;
=LOOKUP(9.99999999999999E+307,1/COUNTIF(INDIRECT("'"&Sheetlist&"'!B8:Q8"),A8),Sheetlist)
I also need to lookup a value across multiple sheets an return the sheet name.
But when the value is in multiple sheets I all the sheet names in which the value is found.
Is there a way of doing this ?

Assuming that SheetList is defined properly and we want the sheet names listed in B8 and to the right...

In B8 control+shift+enter, not just enter, and copy across:
Rich (BB code):
=IFERROR(INDEX(SheetList,SMALL(IF(ISNUMBER(1/COUNTIFS(INDIRECT("'"&SheetList&"'!B8:Q8"),$A8)),
    ROW(INDIRECT("1:"&COUNTIFS(SheetList,"?*")))),COLUMNS($B$8:C8))),"")
 
Upvote 0
Hi All,
Does anybody know how can I adapt Aladins' formula for use in Google Sheets?
I tried to implement it "as is" (with SheetList range and relevant cell ranges to my workbook) but it returns the following error:

HTML:
Error
Did not find value '1E+308' in LOOKUP evaluation.
 
Upvote 0

Forum statistics

Threads
1,215,501
Messages
6,125,169
Members
449,212
Latest member
kenmaldonado

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top