Lookup across whole workbook (muliple sheets)
Solved/Closed
Related:
- Excel search entire workbook
- Can you search an entire excel workbook - Best answers
- Excel formula to search entire workbook for text - Best answers
- Yahoo mail search organize conquer - Yahoo Mail Forum
- Excel mod apk for pc - Download - Spreadsheets
- Yahoo search history - Guide
- Google search from usa - Guide
- Vim search - Guide
3 responses
venkat1926
Posts
1863
Registration date
Sunday 14 June 2009
Status
Contributor
Last seen
7 August 2021
811
30 Jan 2010 à 20:27
30 Jan 2010 à 20:27
Hey,
This is from my notes. I have not personally checked recently. Perhaps it will work.
In sheet1 (or any sheet), enter the sheet names. And name this range of cells as "Mysheets". Then use this formula:
=VLOOKUP(A1,INDIRECT("'"&INDEX(MySheets,MATCH(TRUE,COUNTIF(INDIRECT("'"&MySheets&"'!A1:A50"),A1)>0,0))&"'!A:B"),2,0)
Invoke this formula with CONTROL+SHIFT+ENTER.
Hope, it will resolve the issue!
This is from my notes. I have not personally checked recently. Perhaps it will work.
In sheet1 (or any sheet), enter the sheet names. And name this range of cells as "Mysheets". Then use this formula:
=VLOOKUP(A1,INDIRECT("'"&INDEX(MySheets,MATCH(TRUE,COUNTIF(INDIRECT("'"&MySheets&"'!A1:A50"),A1)>0,0))&"'!A:B"),2,0)
Invoke this formula with CONTROL+SHIFT+ENTER.
Hope, it will resolve the issue!
12 Apr 2016 à 05:25
If anyone is struggling to use this formula, you need to understand how both Index(Match()) and VlookUp() works first. One you have that understanding, this formula is child's play..... I added an Iferror statement because I loath getting N/A# 's....... I love it !
My script below :
{=IFERROR(VLOOKUP($H7,INDIRECT("'"&INDEX(MySheets,MATCH(TRUE,COUNTIF(INDIRECT("'"&MySheets&"'!$B$1:$H$1000"),$H7)>0,0))&"'!B:H"),7,0),"")}
TIP
$H7 is the code I am looking up
$B$1:$H$1000 and B:H is the total range on each worksheet i'm looking up
7 is the column where the result I'm looking for
26 Jul 2016 à 13:52
once i renamed that range of cells in the sheet it this formula worked for me
10 Feb 2017 à 03:47
=VLOOKUP(A1, INDIRECT("'"&INDEX(Mysheets,MATCH(TRUE,COUNTIF(INDIRECT("'"&Mysheets&"'!$b$5:$b$1000"),A1)>0,0))&"'!b"),2,0)
Regrads,
Mark