vlookup for multiple sheets

iffi

Board Regular
Joined
Jun 5, 2011
Messages
59
Office Version
  1. 2019
Platform
  1. Windows
i m just confused to use vlookup or similiar formulae for 30 sheets to extract data. which formula i need to use for this purpose ? plz provide me a formula for this task.
lookup value is in column A and table range is from A to M in all sheets with same format. Thanks
 

Excel Facts

Can Excel fill bagel flavors?
You can teach Excel a new custom list. Type the list in cells, File, Options, Advanced, Edit Custom Lists, Import, OK
Hi friend:)

You can try this simple illustration.
I have 3 sheets with data table for each sheet.
I named each data table as a, b, and c.
And I extract them in the other sheet. And here it is:)
Excel Workbook
ABC
3LookupValueLookupTableAmount
4Januarya100
5Februaryb300
6Marchd500
7Aprila400
8Mayb600
9Juned800
abd
Excel 2010
Cell Formulas
RangeFormula
C4=VLOOKUP(A4,INDIRECT(B4),2,FALSE)
C5=VLOOKUP(A5,INDIRECT(B5),2,FALSE)
C6=VLOOKUP(A6,INDIRECT(B6),2,FALSE)
C7=VLOOKUP(A7,INDIRECT(B7),2,FALSE)
C8=VLOOKUP(A8,INDIRECT(B8),2,FALSE)
C9=VLOOKUP(A9,INDIRECT(B9),2,FALSE)
Excel Workbook
NameRefers To
a=a!$A$1:$B$6
b=b!$A$1:$B$6
d=d!$A$1:$B$6
Workbook Defined Names


Hope it helps:)
HOpe your feedback:)
 
Upvote 0
Sorry for late reply, i was out
Thanks Vog, i will try that
Thanks MrVillareal, but i m little confused in ur illustration, in ur example, Lookup value of A4 is looking up into only one sheet that is named as a, in which there is a data table then Lookup value of A5 looking up into only one sheet also that is named as b, but this example doesn't solve my problem, i want the Lookup value to look up into 30 sheets, if it doesn't find the lookup value in sheet1 then it should move to 2nd sheet to look up that lookup value and extract data or maybe i m wrong to understand ur example if so could u plz explain me where i m wrong ? Thanks
 
Upvote 0
Hi:)

Try this alternative presentation. I dont know if I get it right but are you trying to sum all values in one sheet for 30 sheets?

I name each sheet such as "sa","sb","sc" and named the table according to each sheet name.
Excel Workbook
ABCDE
1sasbscTotal
2January100200300600
3February1012010302
4March102202440744
5April103203580886
6May1042040308
7June1052057201030
8July1062068601172
sabc
Excel 2010
Cell Formulas
RangeFormula
B2=VLOOKUP($A2,INDIRECT(B$1),2,FALSE)
C2=VLOOKUP($A2,INDIRECT(C$1),2,FALSE)
D2=VLOOKUP($A2,INDIRECT(D$1),2,FALSE)
E2=SUM(B2:D2)
 
Last edited:
Upvote 0
no i m not trying to sum, i m trying to extract the data using vlookup, again in ur presentation, the lookup value is only finding the value across one sheet only, it is not doing for multiple sheets
 
Upvote 0

Forum statistics

Threads
1,224,609
Messages
6,179,879
Members
452,948
Latest member
Dupuhini

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