Lookup across multiple sheets in a workbook

ysplace

New Member
Joined
Sep 29, 2017
Messages
10
Good Morning,

I have a question for the gurus. Each month, I have to pull a report of the number of closed loans. So, I have a work book with 24 sheets, 12 month from one system and 12 from another system. What I have found is that the date staff are using to mark as closed seems to change. So some loans that originally were in my Jan report is now on my feb report. I pulled a fresh list running Jan to August. What I want is to do some type of lookup that will look at sheet 1 column B loan number then search column I on sheets 2-25 then return to sheet 1 column A the sheet name its found on. Hopefully this makes sense. Is this possible?

Thank you
 

Excel Facts

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
Assuming that the loan numbers in Column B start at the second row, and that your sheet names are in fact named 2, 3, 4, 5, etc...

A2, confirmed with CONTROL+SHIFT+ENTER, and copied down:

=INDEX(ROW(INDIRECT("2:25")),MATCH(TRUE,COUNTIF(INDIRECT("'"&ROW(INDIRECT("2:25"))&"'!I:I"),B2)>0,0))

Hope this helps!
 
Last edited:
Upvote 0

Forum statistics

Threads
1,214,979
Messages
6,122,561
Members
449,089
Latest member
Motoracer88

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