Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 45
Default vlookup from multiple sheets

i have data in 10 different sheets (Sheet 2 to Sheet11)with identical columns.
i need to use the vlookup function in Sheet1 taking the range from column E
to H from each sheet.

Is there any tool whereby i can make te vookup function once for all sheets
and need not to use it for 10 times.

regards
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 464
Default vlookup from multiple sheets

See http://www.ozgrid.com/VBA/VlookupAllSheets.htm



--
Regards
Dave Hawley
www.ozgrid.com
"Radhakant Panigrahi" wrote in message
...
i have data in 10 different sheets (Sheet 2 to Sheet11)with identical
columns.
i need to use the vlookup function in Sheet1 taking the range from column
E
to H from each sheet.

Is there any tool whereby i can make te vookup function once for all
sheets
and need not to use it for 10 times.

regards


  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 698
Default vlookup from multiple sheets


Try this which I got from Peo Sjoblom in 2006.

Somewhere on the worksheet list your ten worksheets by name. Select the ten
cells and in the name box name them MySheets. They will now be included in
the formula.

Enter the formula where you want the answer to be displayed using Ctrl +
Shift +Enter. You will get { } around the formula. This called
Array-Enter. If you change the formula later you will need to array-enter
again.

Enter the lookup value in A2 on the formula sheet.

A2:A200 is the lookup table (table_array) on each of the MySheets list,
adjust in the formula to suit the data on the sheets, but all must be the
same on each sheet.

=VLOOKUP(A2,INDIRECT("'"&INDEX(MySheets,MATCH(1,--(COUNTIF(INDIRECT("'"&MySheets&"'!A2:A200"),A2)0) ,0))&"'!A2:B200"),2,0)

So, it looks on each sheet for whatever is in A2 of the formula sheet and
returns column B of the sheet where it is found.

HTH
Regards,
Howard



"Radhakant Panigrahi" wrote in message
...
i have data in 10 different sheets (Sheet 2 to Sheet11)with identical
columns.
i need to use the vlookup function in Sheet1 taking the range from column
E
to H from each sheet.

Is there any tool whereby i can make te vookup function once for all
sheets
and need not to use it for 10 times.

regards



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Vlookup in multiple sheets Vish Excel Worksheet Functions 2 January 30th 10 04:14 AM
Vlookup with Multiple criteria and multiple sheets Cinny Excel Worksheet Functions 4 June 21st 07 01:47 AM
Using VLOOKUP in multiple sheets using [email protected] Excel Discussion (Misc queries) 0 February 9th 07 04:05 PM
VLOOKUP across multiple sheets EXCELLRNR Excel Discussion (Misc queries) 1 July 28th 06 05:19 AM
Vlookup over multiple sheets SS Excel Worksheet Functions 8 January 13th 06 04:36 PM


All times are GMT +1. The time now is 10:19 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"