lookup in different sheet

dheeraj27

New Member
Joined
Mar 1, 2013
Messages
49
I have around 12 datasheets in one workbook, so in 13th sheet, I want to put a unique value which should look up for that value in other 12 tabs column D and if it matches, then return column A info in that tab.


Example in 12 tab Data is like

[TABLE="width: 500"]
<tbody>[TR]
[TD]Date[/TD]
[TD]first name[/TD]
[TD]Last name[/TD]
[TD]mobile[/TD]
[/TR]
[TR]
[TD]1/1/2018[/TD]
[TD]Dheeraj [/TD]
[TD]Kumar[/TD]
[TD]123456852[/TD]
[/TR]
[TR]
[TD]1/15/2018[/TD]
[TD]Rahul [/TD]
[TD]Arora[/TD]
[TD]987654258[/TD]
[/TR]
</tbody>[/TABLE]

So in 13th sheet if enter mobile : - 987654258, it should give me date 1/15/2018. Matching in all 12 tabs.

Thanks
 

Excel Facts

Quick Sum
Select a range of cells. The total appears in bottom right of Excel screen. Right-click total to add Max, Min, Count, Average.
Let SheetList refer to a range which houses one by one of all 12 sheets.

Let A2 of the 13th sheet house 987654258.
In B2 of the 13th sheet, control+shift+enter, not just enter:

=VLOOKUP($A2,CHOOSE({1,2},INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,CHOOSE({1},COUNTIFS(INDIRECT("'"&SheetList&"'!D2:D100"),$A2)>0,0)))&"'!D2:D100"),INDIRECT("'"&INDEX(SheetList,MATCH(TRUE,CHOOSE({1},COUNTIFS(INDIRECT("'"&SheetList&"'!D2:D100"),$A2)>0,0)))&"'!A2:A100")),2,0)
 
Last edited:
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,181
Members
453,022
Latest member
Mohamed Magdi Tawfiq Emam

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